I ran ntsd on IA64 machine. I have used debug build.
I have copied the MFC related debug files also in the directory.
Trace statments from my program are preceeded by --->.
The actual dll is xena.dll, which uses xenautil.dll which is also in
the local folder. dependency walker shows no problem when i open
xena.dll.
Here is the output.
c:\>start ntsd -g -G regsvr32.exe c:\test\dbg\xena.dll
Microsoft (R) Windows Debugger Version 5.2.3790.0
Copyright (c) Microsoft Corporation. All rights reserved.
CommandLine: regsvr32.exe c:\test\dbg\xena.dll
The call to LoadLibrary(ext) failed, Win32 error 2
"The system cannot find the file specified."
Please check your debugger configuration and/or network access.
The call to LoadLibrary(exts) failed, Win32 error 2
"The system cannot find the file specified."
Please check your debugger configuration and/or network access.
The call to LoadLibrary(uext) failed, Win32 error 2
"The system cannot find the file specified."
Please check your debugger configuration and/or network access.
The call to LoadLibrary(ntsdexts) failed, Win32 error 2
"The system cannot find the file specified."
Please check your debugger configuration and/or network access.
Symbol search path is: *** Invalid *** : Verify _NT_SYMBOL_PATH
setting
Executable search path is:
ModLoad: 00000000`01000000 00000000`01010000 regsvr32.exe
ModLoad: 00000000`77e70000 00000000`77ff4000 ntdll.dll
ModLoad: 00000000`77c90000 00000000`77e60000
C:\WINDOWS.0\system32\kernel32.dl
l
ModLoad: 000006fb`7faa0000 000006fb`7fb86000
C:\WINDOWS.0\system32\msvcrt.dll
ModLoad: 000006fb`7fe80000 000006fb`7ffe0000
C:\WINDOWS.0\system32\ADVAPI32.dl
l
ModLoad: 000006fb`7fc60000 000006fb`7fe74000
C:\WINDOWS.0\system32\RPCRT4.dll
ModLoad: 00000000`77b30000 00000000`77c8a000
C:\WINDOWS.0\system32\USER32.dll
ModLoad: 000006fb`7fb90000 000006fb`7fc5e000
C:\WINDOWS.0\system32\GDI32.dll
ModLoad: 000006fb`7e7b0000 000006fb`7eb20000
C:\WINDOWS.0\system32\ole32.dll
ModLoad: 00000000`10000000 00000000`100c4000 c:\test\dbg\xena.dll
ModLoad: 000006fb`ff320000 000006fb`ff3a8000 c:\test\dbg\xenapd.dll
ModLoad: 000006fb`ff2f0000 000006fb`ff31e000
c:\test\dbg\xenautil.dll
ModLoad: 000006fb`7dbb0000 000006fb`7dbf4000
C:\WINDOWS.0\system32\iphlpapi.dl
l
ModLoad: 000006fb`73b60000 000006fb`73ba4000
C:\WINDOWS.0\system32\WS2_32.dll
ModLoad: 000006fb`73b40000 000006fb`73b5a000
C:\WINDOWS.0\system32\WS2HELP.dll
ModLoad: 00000000`5f800000 00000000`5fbe0000 c:\test\dbg\MFC42uD.DLL
ModLoad: 00000000`10200000 00000000`103e0000 c:\test\dbg\MSVCRTD.dll
ModLoad: 00000000`5f600000 00000000`5f628000
c:\test\dbg\MFCN42uD.DLL
ModLoad: 000006fb`73ac0000 000006fb`73ad0000
C:\WINDOWS.0\system32\WSOCK32.dll
ModLoad: 000006fb`7e410000 000006fb`7e7aa000
C:\WINDOWS.0\system32\OLEAUT32.dl
l
ModLoad: 00000000`10480000 00000000`1061a000
c:\test\dbg\MSVCP60D.dll
ModLoad: 000006fb`7cc70000 000006fb`7ce5e000
C:\WINDOWS.0\system32\SETUPAPI.dl
l
ModLoad: 000006fb`fefe0000 000006fb`ff2ee000
c:\test\dbg\MFCO42uD.DLL
ModLoad: 000006fb`792f0000 000006fb`79342000
C:\WINDOWS.0\system32\oledlg.dll
ModLoad: 000006fb`7c050000 000006fb`7c198000
C:\WINDOWS.0\system32\urlmon.dll
ModLoad: 000006fb`7eb30000 000006fb`7ebec000
C:\WINDOWS.0\system32\SHLWAPI.dll
ModLoad: 000006fb`7fa80000 000006fb`7fa98000
C:\WINDOWS.0\system32\VERSION.dll
ModLoad: 000006fb`7ed90000 000006fb`7fa0a000
C:\WINDOWS.0\system32\SHELL32.dll
ModLoad: 000006fb`7d670000 000006fb`7d6d2000
C:\WINDOWS.0\system32\ATL.DLL
--->Xenautil.dll Initializing!
ModLoad: 000006fb`72370000 000006fb`725a8000
C:\WINDOWS.0\WinSxS\ia64_Microsof
t.Windows.Common-Controls_6595b64144ccf1df_6.0.100.0_x-ww_B3722BAB\comctl32.dll
--->InitInstance
--->DllRegisterServer
--->About to call _Module.RegisterServer(FALSE)
ModLoad: 000006fb`7e1f0000 000006fb`7e338000
C:\WINDOWS.0\system32\CLBCatQ.DLL
ModLoad: 000006fb`7e340000 000006fb`7e40c000
C:\WINDOWS.0\system32\COMRes.dll
Dialog box pops up saying
DllRegisterServer in c:\test\dbg\xena.dll failed
Return code was : 0x80020009
Thanx and Regards,
Vijay Chegu
"Ivan Brugiolo [MSFT]" <iv******@online.microsoft.com> wrote in message news:<#w**************@TK2MSFTNGP11.phx.gbl>...
the break below is the initial breakpoint on process startup.
Get the debugger package from the web (dor IA64)
http://www.microsoft.com/whdc/ddk/de...g/default.mspx
and set the symbols path as per the documentation.
Then run
c:\debuggers>start ntsd -g -G regsvr32.exe <FULL_PATH_TO_YOUR_DLL>
If everything is OK, the debugger will start and exit cleanly,
otherwise it will break for good. Please report the output of the
break-for-good.
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm