-
March 17th, 2003, 01:49 PM
#1
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)
«(?¿|ßµrÑ3R|¿?)»
Operating System: Windows XP Pro
Programming Lang: Visual Basic 6.0
-
March 19th, 2003, 07:56 AM
#2
«(?¿|ßµrÑ3R|¿?)»
Operating System: Windows XP Pro
Programming Lang: Visual Basic 6.0
-
March 19th, 2003, 08:54 AM
#3
entrypoint not found
You usually get this error when the dll exists, but is not of correct type (ie: non com dll, but one like the Api dll) or it is for a different Os version (ie: a dll wich is developed for win9x and you're trying to register it on Win Xp...)
...at present time, using mainly Net 4.0, Vs 2010
Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.
-
March 20th, 2003, 12:26 AM
#4
To add to previous reply possiblities u will get this error when ur dll is corrupted bu some means....try compiling again and register
-
May 3rd, 2008, 11:43 PM
#5
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.
-
November 18th, 2009, 04:03 AM
#6
Re: DllRegisterServer entry point was not found
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.
-
November 18th, 2009, 04:58 AM
#7
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.
-
November 18th, 2009, 06:44 PM
#8
Re: DllRegisterServer entry point was not found
Old thread, long dead. You have to register ALL dll's.
-
November 18th, 2009, 08:43 PM
#9
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...
-
November 19th, 2009, 11:58 PM
#10
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.
-
November 20th, 2009, 08:46 AM
#11
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.
-
November 23rd, 2009, 01:54 AM
#12
Re: DllRegisterServer entry point was not found
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.
-
November 23rd, 2009, 03:45 AM
#13
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.
-
November 23rd, 2009, 09:23 AM
#14
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
-
November 23rd, 2009, 09:26 AM
#15
Re: DllRegisterServer entry point was not found
I'm closing this thread now.
Start a new thread radhika.s
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
|