VS2005 redistributable not working on Windows 2000-Collection of common programming errors
Thank you for the feedback.
Looking for system calls that were not supported on Win 2000 was the first thing I checked for when I started this project. It is a rather large application and I could have missed something. Based on your feedback, I did go back and review some of my earlier work. I also ran dumpbin /exports against the kernel32.dll on win2k3 and win2k, piped the output to a file and then diffed them and looked for every system call in win2k3 that’s not in win2k. You get the picture. Didn’t find anything.
Also, I would think–I could be wrong–that Dependency Walker would flag something as simple as that. As the snippet of depends output below indicates, the failures are all caused by the redist library attempting to call a routine in the kernel32.dll that does not exist in that library. There’s no indication of the application itself calling a non-existent routine.
00:00:00.781: GetProcAddress(0x77A50000 [c:\winnt\system32\OLE32.DLL], “DcomChannelSetHResult”) called from “c:\winnt\system32\OLEAUT32.DLL” at address 0x77A0FAB3 and returned 0x77A8FDF4 by thread 1. 00:00:00.781: DllMain(0x779B0000, DLL_PROCESS_ATTACH, 0x0012FD30) in “c:\winnt\system32\OLEAUT32.DLL” returned 1 (0x1) by thread 1. 00:00:00.781: DllMain(0x78000000, DLL_PROCESS_ATTACH, 0x0012FD30) in “c:\winnt\system32\MSVCRT.DLL” called by thread 1. 00:00:00.797: GetProcAddress(0x7C4E0000 [c:\winnt\system32\KERNEL32.DLL], “IsProcessorFeaturePresent”) called from “c:\winnt\system32\MSVCRT.DLL” at address 0x78001EAA and returned 0x7C4E62D7 by thread 1. 00:00:00.797: DllMain(0x78000000, DLL_PROCESS_ATTACH, 0x0012FD30) in “c:\winnt\system32\MSVCRT.DLL” returned 1 (0x1) by thread 1. 00:00:00.812: DllMain(0x78130000, DLL_PROCESS_ATTACH, 0x0012FD30) in “c:\winnt\system32\MSVCR80.DLL” called by thread 1. 00:00:00.812: GetProcAddress(0x7C4E0000 [c:\winnt\system32\KERNEL32.DLL], “FlsAlloc”) called from “c:\winnt\system32\MSVCR80.DLL” at address 0x78133001 and returned NULL by thread 1. Error: The specified procedure could not be found (127). 00:00:00.828: GetProcAddress(0x7C4E0000 [c:\winnt\system32\KERNEL32.DLL], “FlsGetValue”) called from “c:\winnt\system32\MSVCR80.DLL” at address 0x7813300E and returned NULL by thread 1. Error: The specified procedure could not be found (127). 00:00:00.828: GetProcAddress(0x7C4E0000 [c:\winnt\system32\KERNEL32.DLL], “FlsSetValue”) called from “c:\winnt\system32\MSVCR80.DLL” at address 0x7813301B and returned NULL by thread 1. Error: The specified procedure could not be found (127). 00:00:00.844: GetProcAddress(0x7C4E0000 [c:\winnt\system32\KERNEL32.DLL], “FlsFree”) called from “c:\winnt\system32\MSVCR80.DLL” at address 0x78133028 and returned NULL by thread 1. Error: The specified procedure could not be found (127). 00:00:00.844: GetProcAddress(0x7C4E0000 [c:\winnt\system32\KERNEL32.DLL], “EncodePointer”) called from “c:\winnt\system32\MSVCR80.DLL” at address 0x78132BBC and returned NULL by thread 1. Error: The specified procedure could not be found (127). 00:00:00.844: GetProcAddress(0x7C4E0000 [c:\winnt\system32\KERNEL32.DLL], “EncodePointer”) called from “c:\winnt\system32\MSVCR80.DLL” at address 0x78132BBC and returned NULL by thread 1. Error: The specified procedure could not be found (127). 00:00:00.859: GetProcAddress(0x7C4E0000 [c:\winnt\system32\KERNEL32.DLL], “EncodePointer”) called from “c:\winnt\system32\MSVCR80.DLL” at address 0x78132BBC and returned NULL by thread 1. Error: The specified procedure could not be found (127). 00:00:00.859: GetProcAddress(0x7C4E0000 [c:\winnt\system32\KERNEL32.DLL], “EncodePointer”) called from “c:\winnt\system32\MSVCR80.DLL” at address 0x78132BBC and returned NULL by thread 1. Error: The specified procedure could not be found (127).
00:00:00.859: GetProcAddress(0x7C4E0000 [c:\winnt\system32\KERNEL32.DLL], “EncodePointer”) called from “c:\winnt\system32\MSVCR80.DLL” at address 0x78132BBC and returned NULL by thread 1. Error: The specified procedure could not be found (127).
Like I said, it is a large applciation so I will continue to look for unsupported system calls.
Thanks, Tom