Re: Load SVG from String

"Achim Domma (Procoders)" <[email protected]> Fri, 04 Mar 2005 18:33:33 +0100
Newsgroups gmane.comp.video.graphicsmagick.apis
Message-ID <[email protected]>
Hi Bob,

> I think that multiple calls should be ok.  GM should do nothing on the 
> extra call.  The same should hold true for destruction.  Let me know if 
> this is not actually the case.

I have the following problem:

GM is compiled into a COM object. The code from DllMain is called once 
without any problems. The first instance of the COM object creates an 
instance of Magick::Image and releaes it. A second instance is created, 
which again creates an instance of Magick::Image. But if this Image is 
to be deleted there seems to be some kind of deadlock. The debugger can 
not step into the dtor. Don't know why.

Some additional facts:

- I tried Dll and Static versions (both runtime versions), but it makes 
no difference.
- The object is created from an ASP page, so it runs in the IIS.
- If I don't call InitializeMagick, I have the same behavior.

Any hint what's going on or how to debug further? It would be quite 
important for me to get this up and running.

regards,
Achim



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click