What should I do to setup TSS? I thought it should just work....

I tried to comment out TSS:

#  define QPID_TSS //__declspec(thread)

Then everything is working.

I think we can be sure that the problem is caused by TSS, but I don't
understand why it works for Debug version. I tried to play with the
optimization and code generation configs in project property of Release
but found no joy.

We don't have a plan to run broker on windows, and in client I found
those TSS variables are only used by writeComplete and readComplete
functions. So am I safe to just comment out QPID_TSS and use normal
global variables?


Thanks,
Shan


-----Original Message-----
From: Steve Huston [mailto:[email protected]] 
Sent: 27 March 2009 13:45
To: [email protected]
Subject: RE: Exception thrown from qpidcommon.dll on windows

Hi Shan,

> Have you tried the Debug version or Release version?

Debug.

> I just tried the Debug one and it worked fine, but the release
version
> failed every time.

Bummer... Is it the TSS not being set up correctly?

-Steve


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

The information contained in this email is strictly confidential and for the 
use of the addressee only, unless otherwise indicated. If you are not the 
intended recipient, please do not read, copy, use or disclose to others this 
message or any attachment. Please also notify the sender by replying to this 
email or by telephone (+44 (0)20 7896 0011) and then delete the email and any 
copies of it. Opinions, conclusions (etc.) that do not relate to the official 
business of this company shall be understood as neither given nor endorsed by 
it. IG Index plc is a company registered in England and Wales under number 
01190902. VAT registration number 761 2978 07. Registered Office: Friars House, 
157-168 Blackfriars Road, London SE1 8EZ. Authorised and regulated by the 
Financial Services Authority. FSA Register number 114059.

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to