Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error registering DLL

Status
Not open for further replies.

ByzantianX

Programmer
Dec 18, 2000
103
I have a problem that I can't register a Delphi dll with regsvr32. I always kept getting message: LoadLibrary ("nameofDelphiDLL")failed. GetLastError returns 0x00000485.
I've checked dll within other Delphi applications and it works perfectly.I need a dll that could work in different environments, not only in Delphi, so, that's why I need to be able to register that dll with regsvr32. Could anyone help me with some idea what might be wrong, please?
 
Do I have to declare function DllRegisterServer or something?
 
Now, I used a simple sample dll from Object Pascal for Delphi book and regsvr32 didn't register it, again, with the message:"D:\minmax.dll was loaded but the DLLRegisterServer entry point wasn't found. DLLRegisterServer may not be exported or a corrupt version of dll is in memory..."
Also, when I tried to use procedure RegisterComServer, I kept getting messages that procedure couldn't be found. I really don't know what might be wrong, Delphi Help does not offer any details and I can't find any solution in literature I have (Marco Cantu's Delphi, for example). Please, help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top