[PD-dev] setup() for hex loader

Martin Peach martin.peach at sympatico.ca
Wed May 28 17:41:35 CEST 2008


>IOhannes m zmoelnig wrote:
> >
> > apart from that, the same thing is also possible with M$VC, you just
> > have to specify it differently. i think it is via _DLL_InitTerm() or the
> > like.
>
>the only problem about it is, that it is so hard to google.
>i haven't found many references to _DLL_InitTerm() (and some ofthem
>refer to OS/2).
>i think the proper way to do it is to use DllMain()
>http://msdn.microsoft.com/en-us/library/ms682583.aspx
>

Are you sure it's not GetProcAddress() that you want? s_loader.c line 262 
uses it...

http://msdn.microsoft.com/en-us/library/ms683212.aspx

Martin






More information about the Pd-dev mailing list