<br><br><div class="gmail_quote">On Mon, Jun 22, 2009 at 10:14 AM, William Bauder <span dir="ltr"><<a href="mailto:bill@simplified.biz">bill@simplified.biz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>
<div><font face="Arial" color="#0000ff" size="2"></font> </div>
<blockquote dir="ltr" style="margin-right:0px"><div class="im">
<div></div>
<div lang="en-us" dir="ltr" align="left"><font face="Tahoma" size="2">-----Original Message-----<br><b>From:</b>
<a href="mailto:omniorb-list-bounces@omniorb-support.com" target="_blank">omniorb-list-bounces@omniorb-support.com</a>
[mailto:<a href="mailto:omniorb-list-bounces@omniorb-support.com" target="_blank">omniorb-list-bounces@omniorb-support.com</a>] <b>On Behalf Of </b>Andrew
Buza<br><b>Sent:</b> Friday, June 19, 2009 5:39 PM<br><b>To:</b>
<a href="mailto:omniORB-list@omniorb-support.com" target="_blank">omniORB-list@omniorb-support.com</a><br><b>Subject:</b> [omniORB] question
regarding ORB initialization in DLLs and somegeneral
problems<span class="Apple-style-span" style="font-family: arial; "> </span></font></div></div></blockquote></div></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><blockquote dir="ltr" style="margin-right:0px"><div class="im"><div lang="en-us" dir="ltr" align="left"><font face="Tahoma" size="2"><br></font></div></div><div class="im"><div><br></div>
<div>I'm using omniORB-4.1.3 (compiled with /Zc:wchar_t) and msvc 7.1.6030.
The same projects are also built with msvc 8 and work fine. The application
that loads my DLLs (Adobe InDesign) appears to be involved in (de)allocation
in some way since one of its dlls appears in the call stack between the call
to operator delete[] in my code and the implementation in ntdll.dll. Might
this be the source of some of my problems?<font face="Arial"><font color="#0000ff"><font size="2"><span> </span></font></font></font></div>
<div><font face="Arial"><font color="#0000ff"><font size="2"><span></span></font></font></font> </div>
</div><div><font face="Arial"><font color="#0000ff"><font size="2"><span>That sounds like someone snuck an
operator[] delete or #defined free somewhere. Check the header(s) for the
offending dll.</span></font></font></font></div><div class="im">
<div><font face="Arial"><font color="#0000ff"><font size="2"><span></span></font></font></font> </div>
<div></div></div></blockquote></div></blockquote><div><br></div><div>Peeking at the symbol table of the DLL shows that it does contain overloaded new[] & delete[] operators. However, they aren't declared in the headers anywhere that I can find. </div>
<div><br></div><div>In any case it seems the problems I'm having aren't anything specific with omniORB so I'll take my questions to a more general audience.</div><div><br></div><div>Thanks for your help, everyone.</div>
</div>