Re: [GD-Windows] DLL initialization (was: Loading new DLLs on old Windows)
Brought to you by:
vexxed72
From: Andras B. <bn...@ma...> - 2004-02-17 16:23:12
|
Monday, February 16, 2004, 5:29:54 PM, Jon Watte wrote: >> 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?) Yeah, it was me, who asked the question about subsystem versions a couple of days ago, because first I also thought it was something to do with versioning, but since then I've been told that every exec & DLL (including CRT and system stuff) is linked with version 4.0 (except 64 bit programs). Checking the version numbers with DependencyWalker confirms this. Andras |