Re: regsvr32 error code 0x80004002



Hi Norman.

Today regsvr32 gives error code 0x80004002, Interface Not Supported.
(Actual wording: インターフェースがサポートされていません)

That error code has the description "No such interface supported".

To see where it is generated you can debug you ATL dll by using regsvr32 as the debuggee.
Use menu Project properties->Config Props->Debugging
Enter the complete path to regsvr32 into the Command field.
Enter the complete path to your ATL dll (debug version) into Command Arguments.
Put a Breakpoint in the DllRegisterServer function of your ATL dll and press F5.
Single step through the code and watch out which call does return 0x80004002.
You might find the problem yourself with this method otherwise please post which function fails.

--
SvenC

.



Relevant Pages


Loading