Re: operator new[] fails in DLL when being called from within VB6 process




"Jo Siffert" <jo.siffert@xxxxxxx> wrote in message

> But btw - calling CoInitialize() in DllMain() is actually very forbidden
> ;) Though it works (I once used it by myself), you are actually only
> allowed to call functions in kernel32.dll.

Yeah, I read the "newsletter" too. You're right. Bad advice. Double
checking, we are not calling CoInitialize() in DLLMAIN(). It it called with
a specific DLL API called by the client.

Anyway, glad to hear you squashed your bug <g>


--
Hector Santos, Santronics Software, Inc.
http://www.santronics.com








.


Loading