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.
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.
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.
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...
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.
@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.
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.
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" (...
Bookmarks