DllRegisterServer entry point was not found
Hi there
I made a program that installs .dll files, it works fine until I try installing / registering psapi.dll.
It gives the following error:
==============================================
C:\WINDOWS\system32\psapi.dll was loaded, but the DllRegisterServer entry point was not found.
This file can not be registered.
==============================================
But the users of my program do need the dll so how am I supposed to get it to work on their computers?
(I use Regsvr32 to register the dlls)
Re: DllRegisterServer entry point was not found
hi,
I had the problem with psapi.dll generating GetProcessImageNameW missing error. When I tried to register , it said
PSAPI.DLL loaded but DLLRegisterServer Entry point was not found.!
I also had IE7 beta that was causing the error.
This worked for me.!!!!
1) Download the latest psapi.dll
http://www.dlldump.com/dllfiles/P/psapi.dll
2) rename all instances of psapi.dll in your system to psapibackup.dll
3.) Make sure there is only ONE PSAPI.DLL file and that is in the system32 folder of windows directory.
reboot the system and it worked like a charm for me!!! :-)
By the way! , I also removed IE7 beta just to avoid any errors.
Re: DllRegisterServer entry point was not found
Quote:
Originally Posted by
Burn3r
Hi there
I made a program that installs .dll files, it works fine until I try installing / registering psapi.dll.
It gives the following error:
==============================================
C:\WINDOWS\system32\psapi.dll was loaded, but the DllRegisterServer entry point was not found.
This file can not be registered.
==============================================
But the users of my program do need the dll so how am I supposed to get it to work on their computers?
(I use Regsvr32 to register the dlls)
=================================================================
Hello All,
I have created a DLL in Visual C++ 6, for use in Visual Basic 6. It's working fine I can call it from VB, but still i can't register the DLL, I get the same error. When i tried to registering the DLL ,I got the error "example1.dll was loaded, but the DLLregisterserver entry point was not found etc...". Is this a serious error? Any help appreciated.
I followed this procedure for registering the dll
Step1:Copy the dll to the folder [c:\WINDOWS\system32]
Step2:Afterwards in the run type the command
Regsvr32 "C:\WINDOWS\system32\example1.dll"
or
regsvr32 example1.dll
after running that command i am getting the above error.
Thanks in advance.
please reply for this post if any body know.
Re: DllRegisterServer entry point was not found
HI Radhika & Burnr3
The Dll which u are trying to register is written in vc++ or c++ hence these dll's does'nt need to be registered ..It just need to be in the directory/path as needed.
Re: DllRegisterServer entry point was not found
Old thread, long dead. You have to register ALL dll's.
Re: DllRegisterServer entry point was not found
There must be a new graduating class of wizards because I have not seen this many necromancers in a long time and just because they graduated they think they can go around raising the dead... :) Proper manners these youngsters need, me thinks we should teach...
Re: DllRegisterServer entry point was not found
Hello All,
I have created a win32 DLL in Visual C++ 6, for use in Visual Basic 6. It's working fine I can call it from VB, but still i can't register the DLL, I got the error. When i tried to registering the DLL ,I got the error "example1.dll was loaded, but the DLLregisterserver entry point was not found etc...". Is this a serious error? Any help appreciated.
I followed this procedure for registering the dll
Step1:Copy the dll to the folder [c:\WINDOWS\system32]
Step2:Afterwards in the run type the command
Regsvr32 "C:\WINDOWS\system32\example1.dll"
or
regsvr32 example1.dll
after running that command i am getting the above error.
Thanks in advance.
please reply for this post if any body know.
Re: DllRegisterServer entry point was not found
@vb5prgrmr: Nobody willing seems your teaching to take, thinks I. :)
@radhika: Look up, your question has been already answered. A dll like that does not have to be registered.
Re: DllRegisterServer entry point was not found
Quote:
Originally Posted by
WoF
@vb5prgrmr: Nobody willing seems your teaching to take, thinks I. :)
@radhika: Look up, your question has been already answered. A dll like that does not have to be registered.
Hello,
I have created a win32 DLL in Microsoft Visual C++ 6.0.I registered the DLL in windows by the following method
Step1:Copied the dll to the folder [c:\WINDOWS\system32]
Step2:Went to start\\run prompt and gave the command regsvr32 "C:\WINDOWS\system32\example1.dll" or regsvr32 example1.dll
The Dll didnt get registered and a popup said the error below:
"example1.dll was loaded, but the DLLregisterserver entry point was not found etc..."
win32 DLL name : example1.dll
I would like to use the functionality of the DLL only by registering it as Windows DLL but not through including its function definition(or calling DLL by its name) in the code anywhere.
If there is anyone who has come across with the same problem and resolved it,
kindly let us know more information on this issue.
Thanks.
Re: DllRegisterServer entry point was not found
Hello All,
I have created a win32 DLL in Microsoft Visual C++ 6.0.I registered the DLL in windows by the following method
Step1:Copied the dll to the folder [c:\WINDOWS\system32]
Step2:Went to start\\run prompt and gave the command regsvr32 "C:\WINDOWS\system32\example1.dll" (or) regsvr32 example1.dll
The Dll did not get registered and a popup said the error below:
"example1.dll was loaded, but the DLLregisterserver entry point was not found etc..."
win32 DLL name : example1.dll
I would like to use the functionality of the DLL only by registering it as Windows DLL but not through including its function definition(or calling DLL by its name) in the code anywhere.
If there is anyone who has come across with the same problem and resolved it,
kindly let us know more information on this issue.
Thanks.
Re: DllRegisterServer entry point was not found
Seems to be a bot which is attaching the same question over and over again... ;)
This IS how a dll is to be used: You HAVE to declare its functions somewhere in your code to make them useable.
Another way of making functions of a dll known to your program without declaring is, you wrie a type-library file. In a way you have to write all the declarations in an external textfile, using the MIDL (microsoft interface description language) and use an apropriate tool to convert this into a .tlb (type library) which you can register with REGTLB. When you set a reference to this tlb then, you don't need to declare the functions in VB anymore.
But making a tlb requires you to learn MIDL syntax and usage of the compiler, and maybe it is easier to write the declarations in standard VB style with Declare Function lib "mylib.dll" (...
Here is more detail: http://msdn.microsoft.com/en-us/library/ms221567.aspx
Re: DllRegisterServer entry point was not found
I'm closing this thread now.
Start a new thread radhika.s