RE: DLL initialization (was: Loading new DLLs on old Windows)

"Jon Watte" <[email protected]>
Newsgroups gmane.games.devel.windows
Message-ID <[email protected]>
> There aren't many reasons why _DllMainCRTStartup (the function called
before
> DllMain) would fail, but a few examples would be:

Another would be if the "subsystem" version of the DLL, or one of the DLLs
that it's referencing, is greater than the version of Windows you're running
on. For Windows 98/ME, the "subsystem" version must be 4; on 2k/XP it can be
5. (Didn't we discuss this just recently?)

Note that I'd suspect the runtime DLLs (version 71) before I'd suspect the
actual DLL you built yourself. You can check the subsystem version using
DEPENDS.EXE that comes with Visual Studio.

Cheers,

			/ h+



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Gamedevlists-windows mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_id=555
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.