> > Hi,
> > testing GM 1.3.8 versus previous 1.3.7 with octave
> 3.2.4,
> > I discovered that from this version:
> >
> > "The InitializeMagick() function MUST be invoked
> before constructing any
> > Magick++ objects".
> >
> >
http://www.graphicsmagick.org/Magick++/index.html
> >
http://www.graphicsmagick.org/api/api.html
> >
> > Otherwise a nice crash will happen.
> >
> > As I see no InitializeMagick call also in the hg
> source,
> > Where is the best place to put this call within
> __magick_read__.cc ?
>
> If you build a Windows DLL, then InitializeMagick() is
> automatically
> called within the DllMain() function when the library is
> loaded
> the first time.
>
> Take a look at the source code in magick/nt_base.c
>
> I don't know what will happen if you call it more than
> once, though.
>
> benjamin
I think nt_base is not build on cygwin.