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
fmgadsr. IOhannes