PDA

Click to See Complete Forum and Search --> : expsvr.dll


pecky
Jun 19th, 2000, 11:58 AM
Currently developing an app Using VB6 on an NT machine

When I attampt to install the application (on a win 95 machine) i get a message:

"An Error occured while registering c:\winNT\system32\expsvr.dll
Abort/Rety/Ignore"

If ignore this error Setup goes on to successfully complete the installation.

But then when I try to run the Application I get the message.

"Unexpected Error - Class not registered"

If I take the DllSelfRegistering clause out of the setup.lst file I no longer get the

installation error. But still get the error when I try and run the application.

If I try and register the expsvr.dll on the NT machine using regsvr32

I get the following message:

"C:\WinNT\System32\expsrv.dll was loaded but the DllRegisterServer entry point was not

loaded.

DllRegisterServer may not be exported, or a corrupt version of C:\WinNT\System32\expsrv.dll

may be in memory.
Consider using PView to detect and remove it."

What is going on???

StillAwake
Jun 23rd, 2000, 03:59 AM
I'm no expert, but I didn't think you could register a DLL that doesn't have the DLLRegisterServer code inside it.

The error (to me) just means you don't have to register it.
I've tried to register that dll, and vbar2232.dll, vbar232.dll, msjter35.dll, msjtint.dll, and vbajet32.dll for
a project I'm trying to run on an older 66Mhz Win95 system. It copied any missing Dll's and tried to register the ones it copied.
I got the same message you did on all of them but msjet35.dll and vbar232.dll
vbar232 fails, and msjet35 is succesful. The program works fine, so I changed my setup program to only register msjet35.
The only other thing I notice is the system folder on Win95 is in C:\windows\system

Clunietp
Jun 23rd, 2000, 11:33 PM
http://support.microsoft.com/support/kb/articles/Q236/2/81.ASP?LN=EN-US&SD=gn&FR=0