First you need to Google it to find out whether there is some kind of
re-entrant mode or re-entrance safe functions.
Sometimes you have to do something like #DEFINE _REENTRANT.
If there is a re-entrant mode, that will solve your problem.
Another option would be fork/exec instead of threads.
Lastly you would have mutexes. Mutual exclusion objects.
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...]On Behalf Of Dmitry
Sidorov
Sent: Wednesday, May 11, 2005 12:15 AM
To: dev...@li...
Subject: [Dev-C++] MTA COM+ class
Hello, dev-cpp-users.
A have created STA COM+ class using DevC++ and it is working fine
But when I try to use it from the different threads of the same
process, I get a failure :(
So I think I must use MTA for this class
How could I do it?
--
Dmitry
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
Dev-cpp-users mailing list
Dev...@li...
TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
___________________________________________________________________
The information contained in this message and any attachment may be
proprietary, confidential, and privileged or subject to the work
product doctrine and thus protected from disclosure. If the reader
of this message is not the intended recipient, or an employee or
agent responsible for delivering this message to the intended
recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify me
immediately by replying to this message and deleting it and all
copies and backups thereof. Thank you.
|