MSVCRT.dll and _resetstkoflw() Win 2000 and XP
-
Hi I have a problem with msvcrt.dll from WinNT/System32 on windows 2000 (this dll doesn't have _resetstkoflw entry). My software use this function and it works correctly on Win XP. I use Visual Studio and MFC. Is it possible to forced my software to load other msvcrt.dll? Please Help thanks
-
Hi I have a problem with msvcrt.dll from WinNT/System32 on windows 2000 (this dll doesn't have _resetstkoflw entry). My software use this function and it works correctly on Win XP. I use Visual Studio and MFC. Is it possible to forced my software to load other msvcrt.dll? Please Help thanks
You could try static linking to the C Runtime rather than linking dynamically to the installed msvcrt.dll at runtime. However if you do this you should use a #define to set the WINNT Version to 0x500, see MSDN for the exact macros to use, to make your entire build Windows 2000 compatible. If _resetstkoflw relies on WinXP only APIs then it will be cut from your code by the #define anyway and you may still have a problem. If setting the WINNT Version to 0x500 does not remove the _resetstkoflw declaration but it doesn't work on Windows 2000 at runtime then you've found a bug in C Runtime :) Good luck
Nothing is exactly what it seems but everything with seems can be unpicked.
-
Hi I have a problem with msvcrt.dll from WinNT/System32 on windows 2000 (this dll doesn't have _resetstkoflw entry). My software use this function and it works correctly on Win XP. I use Visual Studio and MFC. Is it possible to forced my software to load other msvcrt.dll? Please Help thanks
According to this, it should be available on Windows 2000.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
-
Hi I have a problem with msvcrt.dll from WinNT/System32 on windows 2000 (this dll doesn't have _resetstkoflw entry). My software use this function and it works correctly on Win XP. I use Visual Studio and MFC. Is it possible to forced my software to load other msvcrt.dll? Please Help thanks
If you need to use this function it seems to me than 99 times out of 100 it would be better to just increase the stack size and not use it!
Steve