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

Mark Elder MarkElder@Martin-Group.com
Fri, 11 May 2001 10:10:37 -0500


Thanks for the information.  My project was using "Single Threaded" -
changing that cleaned everything up.

Mark

-----Original Message-----
From: Bruce Visscher [mailto:visschb@rjrt.com]
Sent: Thursday, May 10, 2001 4:28 PM
To: Mark Elder
Cc: omniorb-list@uk.research.att.com
Subject: Re: [omniORB] Can I ignore RtlFreeHeap assert when String_var
is destructed?


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.