Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm trying to register a dll on a XP box and when I run regsvr32 interop.progname.dll I get the following error message: "interop.progname.dll was loaded, but the DllRegisterServer entry point was not found. This file can not be registered."

Anybody know how to fix that?

EDIT: I figured it out. I was trying to register the wrong file. <sheepishgrin />

share|improve this question
    
You could delete the question. –  splattne Jun 15 '09 at 13:55
    
why? someone else may do the same stupid thing and this could save them time. –  Kevin Jun 24 '09 at 19:33
add comment

1 Answer

up vote 2 down vote accepted

The error is accurate, if not completely clear. regsvr32 does its stuff by loading the DLL into memory, then calling the DLLRegisterServer function defined in the DLL.

If the DLL doesn't have a DLLRegisterServer function, then you get that error about the function being missing.

If ever you're in doubt, the depends.exe tool can show you what functions are defined in the DLL.

Which, as you've already seen, happens when you try to regsvr32 a DLL that isn't a COM server of some kind.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.