在VS中选Tools|Options , 在Debug页中选中Just in time debugging!NT4.0 MTS
在VS中选Project|Settings , 在Debug页中的Executable for debug session中填入X:\WINNT\SYSTEM32\mtx.exe , 在Program Arguments中填入/p:"包名或包ID"
包ID可以在MTS Explorer中在你的MTS包上点右键,点属性 中看到!W2K COM+
在VS中选Project|Settings , 在Debug页中的Executable for debug session中填入X:\WINNT\SYSTEM32\dllhost.exe , 在Program Arguments中填入/processid:包ID
在VS中选Project|Settings , 在Debug页中的Executable for debug session中填入X:\WINNT\SYSTEM32\mtx.exe , 在Program Arguments中填入/p:"包名或包ID"
包ID可以在MTS Explorer中在你的MTS包上点右键,点属性 中看到!W2K COM+
在VS中选Project|Settings , 在Debug页中的Executable for debug session中填入X:\WINNT\SYSTEM32\dllhost.exe , 在Program Arguments中填入/processid:包ID
Loaded 'c:\winnt\system32\dllhost.exe', no matching symbolic information found.
Loaded 'C:\WINNT\System32\ntdll.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\advapi32.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\kernel32.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\rpcrt4.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\ole32.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\gdi32.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\user32.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\msvcrt.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\imm32.dll', no matching symbolic information found.
The thread 0x230 has exited with code 0 (0x0).
The program 'c:\winnt\system32\dllhost.exe' has exited with code 0 (0x0).