I have built a 64bit ATL COM dll.
When i register the dll on IA64 windows Enterprise server 2003, i get
following error.
DllRegisterServ er in mydll.dll failed.
Return code was : 0x80020009
The command i am using to register the dll is
c:\test>regsvr3 2 mydll.dll
I have verified that even for 64bit the regsvr is called regsvr32.exe
in system32 folder.
Winerror.h says the error is DISP_E_EXCEPTIO N
which is Exception occurred.
#define DISP_E_EXCEPTIO N _HRESULT_TYPEDE F_(0x80020009L)
Can this be any alignment issue that is triggering this exception ?
I have verified using dependency walker that all the files referenced
by the dll
exist on the machine.
32bit version of the DLL same works perfectly well on 32bit machines.
My build machine setup is :
1)Windows 2003 standard server (32 bit)
2)VC++ .NET 2003 (v7.1)
2)Platform SDK April 2003
The target machine is Itanium based HP Rx 2600 with Windows Enterprise
server 2003.
Any clues will be greatly appreciated.
Regards,
Vijay Chegu
//vijaycheguregsv rexception