call to DllRegisterServer failed with error code 0x80020009

sravinut

New Member
Hi,

when i am registering dll in vista 64 bit as administrator user(from the cmd prompt) i am getting the following error

call to DllRegisterServer failed with error code 0x80020009.
when i re-compiled my project in vista using vs 2008 i am getting the following error

“error PRJ0019: A tool returned an error code from "Performing registration"”. When I comment the following code

STDAPI DllRegisterServer(void)
{
AFX_MANAGE_STATE(AfxGetStaticModuleState());
// registers object, typelib and all interfaces in typelib
return _Module.RegisterServer(TRUE); //this is what I commented
return TRUE//this i added

}
what should i do now?

Also i wanted to add a key under HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers. is it possble to do it? Please let me know

Thanks in advance,
 
Last edited:

My Computer

Back
Top