Click to See Complete Forum and Search --> : Trouble registring my dll


msihbg
May 6th, 1999, 08:35 AM
I have trouble to register my dll in an NT-server. With regsvr32 i get an error message.

How do I do?

Regards Mike

srinath
May 6th, 1999, 10:29 AM
Check out whether you have implemented and exported the DllRegisterServer() in your dll if so
check out the version of the mfc dlls in the system if the version in which you built your dll and the one
present in the system then the dll won't register. so put all the mfc dlls in which you built your dll
and also your dll in that directory itself and then register it.

ksheeraj
May 6th, 1999, 10:07 PM
Did you unregister previous version of DLL.Some time it happened.Your registry entry still pointing to old dll location.And if that dll got deleted you may found some trouble.
Hope this will help you.

ksheeraj

39639,Leslie St.
Apt #157
Fremont USA 94538

chiuyan
May 7th, 1999, 02:39 PM
what is the error message? If it just gives you an error number, use the error lookup tool in the Visual Studio IDE to get the associated error text. The error messages are actually useful sometimes ;-)

--michael

Safai Ma
May 7th, 1999, 02:52 PM
1) Make sure you export DllRegisterServer (in the .DEF file)
2) DllRegisterServer returns NOERROR
3) Check that all your 'statically' linked libraries are in the system

-Safai

mcprint
May 7th, 1999, 08:00 PM
hi,

i had some problem in win95 before,

at my case,
i just find out mfcrt.dll
is not compatiable version

result:
the latest copy *.dll may not backward compatiable when i use win98.
regards



Mobile Gundam Suit