|
-
Nov 12th, 2001, 10:53 PM
#1
Regsvr32 errors?
Im having trouble registering dll files, I have tried a few different dlls but they all result in similar errors.
I click run, then type,
Regsrv32.exe C:\VB_Stuff\mze.dll
then Regsrv will give me a message like
LoadLibrary("C:\VB_Stuff\mze.dll") Failed.
GetLastError returns 0x00000485
Does anybody know what this error means?
Any help is appreciated.
-
Nov 12th, 2001, 10:55 PM
#2
PowerPoster
-
Nov 12th, 2001, 11:00 PM
#3
Thanks for reply.
Yes, I know some of the dlls I have tried were made in VB.
will regsrv only accpet C or C+ type dlls?
-
Nov 12th, 2001, 11:02 PM
#4
PowerPoster
No.
As far as I know, they only accept DLLs with an entry point. (VB and Visual C/C++-made DLLs have this)
Did you have the DLL registered already, and trying to register it again?
-
Nov 12th, 2001, 11:05 PM
#5
Two things -
Firsrt, the OS will give you the error message. Use FormatMessage api. See www.allapi.net for sample code.
Second, only dll COM servers need to be registered. In other words, regular dll's that simply output functions (like kernel32.dll) do not have to be registered. You will always get an error trying to register this type of dll.
-
Nov 12th, 2001, 11:14 PM
#6
Im pretty sure they were not already registered.
Is they a way of viewing dlls you have registered, like a prog that will list all registered dlls in your system?
-
Nov 12th, 2001, 11:17 PM
#7
OLEVIEW.EXE will do what you want - www.msdn.microft.com for download.
It's easier just to try to unregister them: regsvr32 /u filename
-
Nov 12th, 2001, 11:32 PM
#8
Cheers Guys.
The dlls I was trying are standard, I will stop trying to register unregisterable files
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|