[omniORB] Can I ignore RtlFreeHeap assert when String_var is destructed?

Bruce Visscher visschb@rjrt.com
Thu, 10 May 2001 18:27:53 -0400


Mark,

In your Project Settings,  C/C++ tab with the Category field=Code
Generation make sure you have either "Debug Multithreaded DLL" (/MDd on
the command line) or "Multithreaded DLL" (/MD on the command line). 
Compiling and linking against the static libraries will produce the
symptoms you indicate.  In particular, you can't allocate in one DLL and
delete in another.  Which the omniORB run time will do if you link
against the DLLs.

Of course, the other alternative would be to link against the static
omniORB libraries and the static Microsoft run-time library.  Either
way, you just have to be consistent.

HTH,

Bruce
-- 

Bruce Visscher                                        visschb@rjrt.com
CONFIDENTIALITY NOTE:  This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information.  If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system.  Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful.