C# program crash on Win2000 (in kernel32.dll)
My C# program (loaded a C++/CLI wrapper dll -> with add reference) crash on Windows 2000 with 开发者_高级运维error messages:
00:00:00.734: Loaded "c:\winnt\assembly\nativeimages_v2.0.50727_32\system.transactions\12903c3843fe923d1977801ffa3cf26c\SYSTEM.TRANSACTIONS.NI.DLL" at address 0x67AF0000 by thread 1.
00:00:00.734: Loaded "" at address 0x67AA0000 by thread 1.
00:00:00.734: Unloaded "" at address 0x67AA0000 by thread 1.
00:00:00.734: Loaded "c:\winnt\assembly\gac_32\system.transactions\2.0.0.0__b77a5c561934e089\SYSTEM.TRANSACTIONS.DLL" at address 0x67AA0000 by thread 1.
00:00:00.734: DllMain(0x67AA0000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\winnt\assembly\gac_32\system.transactions\2.0.0.0__b77a5c561934e089\SYSTEM.TRANSACTIONS.DLL" called by thread 1.
00:00:00.734: DllMain(0x67AA0000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\winnt\assembly\gac_32\system.transactions\2.0.0.0__b77a5c561934e089\SYSTEM.TRANSACTIONS.DLL" returned 1 (0x1) by thread 1.
00:00:00.875: Loaded "c:\winnt\assembly\nativeimages_v2.0.50727_32\system.configuration\cb4cb21d14767292e079366a5d3d76cd\SYSTEM.CONFIGURATION.NI.DLL" at address 0x64890000 by thread 1.
00:00:00.891: Loaded "c:\winnt\assembly\nativeimages_v2.0.50727_32\system.enterprisese#\5f9cd5bfebcb94175d440ebab3aa412f\SYSTEM.ENTERPRISESERVICES.NI.DLL" at address 0x673F0000 by thread 1.
00:00:00.891: First chance exception 0xE06D7363 (Microsoft C++ Exception) occurred in "c:\winnt\system32\KERNEL32.DLL" at address 0x7C59BCB1 by thread 1.
00:00:00.891: First chance exception 0xE0434F4D (Unknown) occurred in "c:\winnt\system32\KERNEL32.DLL" at address 0x7C59BCB1 by thread 1.
00:00:00.906: Loaded "c:\winnt\assembly\nativeimages_v2.0.50727_32\system.enterprisese#\5f9cd5bfebcb94175d440ebab3aa412f\SYSTEM.ENTERPRISESERVICES.WRAPPER.DLL" at address 0x10020000 by thread 1.
00:00:00.906: Loaded "c:\winnt\assembly\gac_32\system.enterpriseservices\2.0.0.0__b03f5f7f11d50a3a\SYSTEM.ENTERPRISESERVICES.WRAPPER.DLL" at address 0x03B50000 by thread 1.
00:00:00.906: Loaded "c:\winnt\system32\OLEAUT32.DLL" at address 0x779B0000 by thread 1.
00:00:00.906: DllMain(0x779B0000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\winnt\system32\OLEAUT32.DLL" called by thread 1.
00:00:00.906: DllMain(0x779B0000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\winnt\system32\OLEAUT32.DLL" returned 1 (0x1) by thread 1.
00:00:00.906: DllMain(0x03B50000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\winnt\assembly\gac_32\system.enterpriseservices\2.0.0.0__b03f5f7f11d50a3a\SYSTEM.ENTERPRISESERVICES.WRAPPER.DLL" called by thread 1.
00:00:00.906: DllMain(0x03B50000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\winnt\assembly\gac_32\system.enterpriseservices\2.0.0.0__b03f5f7f11d50a3a\SYSTEM.ENTERPRISESERVICES.WRAPPER.DLL" returned 1 (0x1) by thread 1.
00:00:01.016: First chance exception 0xE0434F4D (Unknown) occurred in "c:\winnt\system32\KERNEL32.DLL" at address 0x7C59BCB1 by thread 1.
00:00:01.016: First chance exception 0xE0434F4D (Unknown) occurred in "c:\winnt\system32\KERNEL32.DLL" at address 0x7C59BCB1 by thread 1.
00:00:01.031: Loaded "c:\userdata\ccevaltools\cctwb\IFX_CC_MREADERINTERFACED.DLL" at address 0x04070000 by thread 1.
00:00:01.031: Unloaded "c:\userdata\ccevaltools\cctwb\IFX_CC_MREADERINTERFACED.DLL" at address 0x04070000 by thread 1.
00:00:01.031: First chance exception 0xE06D7363 (Microsoft C++ Exception) occurred in "c:\winnt\system32\KERNEL32.DLL" at address 0x7C59BCB1 by thread 1.
00:00:01.031: First chance exception 0xE06D7363 (Microsoft C++ Exception) occurred in "c:\winnt\system32\KERNEL32.DLL" at address 0x7C59BCB1 by thread 1.
00:00:01.031: First chance exception 0xE06D7363 (Microsoft C++ Exception) occurred in "c:\winnt\system32\KERNEL32.DLL" at address 0x7C59BCB1 by thread 1.
00:00:01.031: First chance exception 0xE0434F4D (Unknown) occurred in "c:\winnt\system32\KERNEL32.DLL" at address 0x7C59BCB1 by thread 1.
00:00:01.031: First chance exception 0xE06D7363 (Microsoft C++ Exception) occurred in "c:\winnt\system32\KERNEL32.DLL" at address 0x7C59BCB1 by thread 1.
00:00:01.031: Second chance exception 0xE0434F4D (Unknown) occurred in "c:\winnt\system32\KERNEL32.DLL" at address 0x7C59BCB1 by thread 1.
00:00:01.031: Thread 2 exited with code 128 (0x80).
00:00:01.047: Thread 3 exited with code 128 (0x80).
00:00:01.047: Thread 4 exited with code 128 (0x80).
00:00:01.047: Thread 6 exited with code 128 (0x80).
00:00:01.047: Thread 1 exited with code 128 (0x80).
00:00:01.047: Exited "c:\userdata\ccevaltools\cctwb\CCTUNINGWORKBENCH.EXE" (process 0x6C8) with code 128 (0x80) by thread 5.
On Windows 7 I have no problems!
VS 2008 C# and CLI dll's: .net 2.0 Windows 2000 with SP4
Any ideas (I have tried to copy the Windows 7 kernel32.dll, but the system load it from "c:\winnt\system32\" and I can't make changes)?
Thank you in advance!
greets leon22
精彩评论