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\xen a.dll
Microsoft (R) Windows Debugger Version 5.2.3790.0
Copyright (c) Microsoft Corporation. All rights reserved.
CommandLine: regsvr32.exe c:\test\dbg\xen a.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(ext s) failed, Win32 error 2
"The system cannot find the file specified."
Please check your debugger configuration and/or network access.
The call to LoadLibrary(uex t) failed, Win32 error 2
"The system cannot find the file specified."
Please check your debugger configuration and/or network access.
The call to LoadLibrary(nts dexts) 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`010000 00 00000000`010100 00 regsvr32.exe
ModLoad: 00000000`77e700 00 00000000`77ff40 00 ntdll.dll
ModLoad: 00000000`77c900 00 00000000`77e600 00
C:\WINDOWS.0\sy stem32\kernel32 .dl
l
ModLoad: 000006fb`7faa00 00 000006fb`7fb860 00
C:\WINDOWS.0\sy stem32\msvcrt.d ll
ModLoad: 000006fb`7fe800 00 000006fb`7ffe00 00
C:\WINDOWS.0\sy stem32\ADVAPI32 .dl
l
ModLoad: 000006fb`7fc600 00 000006fb`7fe740 00
C:\WINDOWS.0\sy stem32\RPCRT4.d ll
ModLoad: 00000000`77b300 00 00000000`77c8a0 00
C:\WINDOWS.0\sy stem32\USER32.d ll
ModLoad: 000006fb`7fb900 00 000006fb`7fc5e0 00
C:\WINDOWS.0\sy stem32\GDI32.dl l
ModLoad: 000006fb`7e7b00 00 000006fb`7eb200 00
C:\WINDOWS.0\sy stem32\ole32.dl l
ModLoad: 00000000`100000 00 00000000`100c40 00 c:\test\dbg\xen a.dll
ModLoad: 000006fb`ff3200 00 000006fb`ff3a80 00 c:\test\dbg\xen apd.dll
ModLoad: 000006fb`ff2f00 00 000006fb`ff31e0 00
c:\test\dbg\xen autil.dll
ModLoad: 000006fb`7dbb00 00 000006fb`7dbf40 00
C:\WINDOWS.0\sy stem32\iphlpapi .dl
l
ModLoad: 000006fb`73b600 00 000006fb`73ba40 00
C:\WINDOWS.0\sy stem32\WS2_32.d ll
ModLoad: 000006fb`73b400 00 000006fb`73b5a0 00
C:\WINDOWS.0\sy stem32\WS2HELP. dll
ModLoad: 00000000`5f8000 00 00000000`5fbe00 00 c:\test\dbg\MFC 42uD.DLL
ModLoad: 00000000`102000 00 00000000`103e00 00 c:\test\dbg\MSV CRTD.dll
ModLoad: 00000000`5f6000 00 00000000`5f6280 00
c:\test\dbg\MFC N42uD.DLL
ModLoad: 000006fb`73ac00 00 000006fb`73ad00 00
C:\WINDOWS.0\sy stem32\WSOCK32. dll
ModLoad: 000006fb`7e4100 00 000006fb`7e7aa0 00
C:\WINDOWS.0\sy stem32\OLEAUT32 .dl
l
ModLoad: 00000000`104800 00 00000000`1061a0 00
c:\test\dbg\MSV CP60D.dll
ModLoad: 000006fb`7cc700 00 000006fb`7ce5e0 00
C:\WINDOWS.0\sy stem32\SETUPAPI .dl
l
ModLoad: 000006fb`fefe00 00 000006fb`ff2ee0 00
c:\test\dbg\MFC O42uD.DLL
ModLoad: 000006fb`792f00 00 000006fb`793420 00
C:\WINDOWS.0\sy stem32\oledlg.d ll
ModLoad: 000006fb`7c0500 00 000006fb`7c1980 00
C:\WINDOWS.0\sy stem32\urlmon.d ll
ModLoad: 000006fb`7eb300 00 000006fb`7ebec0 00
C:\WINDOWS.0\sy stem32\SHLWAPI. dll
ModLoad: 000006fb`7fa800 00 000006fb`7fa980 00
C:\WINDOWS.0\sy stem32\VERSION. dll
ModLoad: 000006fb`7ed900 00 000006fb`7fa0a0 00
C:\WINDOWS.0\sy stem32\SHELL32. dll
ModLoad: 000006fb`7d6700 00 000006fb`7d6d20 00
C:\WINDOWS.0\sy stem32\ATL.DLL
--->Xenautil.dll Initializing!
ModLoad: 000006fb`723700 00 000006fb`725a80 00
C:\WINDOWS.0\Wi nSxS\ia64_Micro sof
t.Windows.Commo n-Controls_6595b6 4144ccf1df_6.0. 100.0_x-ww_B3722BAB\com ctl32.dll
--->InitInstance
--->DllRegisterSer ver
--->About to call _Module.Registe rServer(FALSE)
ModLoad: 000006fb`7e1f00 00 000006fb`7e3380 00
C:\WINDOWS.0\sy stem32\CLBCatQ. DLL
ModLoad: 000006fb`7e3400 00 000006fb`7e40c0 00
C:\WINDOWS.0\sy stem32\COMRes.d ll
Dialog box pops up saying
DllRegisterServ er in c:\test\dbg\xen a.dll failed
Return code was : 0x80020009
Thanx and Regards,
Vijay Chegu
"Ivan Brugiolo [MSFT]" <iv******@onlin e.microsoft.com > wrote in message news:<#w******* *******@TK2MSFT NGP11.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>st art ntsd -g -G regsvr32.exe <FULL_PATH_TO_Y OUR_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