0

我的 C# 程序(加载了 C++/CLI 包装器 dll -> 带有添加引用)在 Windows 2000 上崩溃并显示错误消息:

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.

在 Windows 7 上我没有问题!

VS 2008 C# 和 CLI dll:.net 2.0 Windows 2000 with SP4

有什么想法(我试图复制 Windows 7 kernel32.dll,但系统从“c:\winnt\system32\”加载它,我无法进行更改)?

先感谢您!

迎接 leon22

4

0 回答 0