English 中文(简体)
DllRegisterServer entry point was not found
原标题:
  • 时间:2009-11-09 20:26:22
  •  标签:
  • vb6

When running my vb6 application I am getting error like,

runtime error 53 : file not found: rscomclNoMsg.dll

then i tried to register that dll from cmd line using regsvr32. Then I am getting error like

DllRegisterServer entry point was not found

I copied rscomclNoMsg.dl in c:windowssystem32 and C:Program FilesMicrosoft Visual StudioVB98

Can anyone provide me the solution for this?

最佳回答

Dependency Walker will probably be your friend here. You can run it on rscomclNoMsg.dll to find out what kind of a DLL it is, and what dependencies it has.

问题回答

"DllRegisterServer entry point was not found" mean it is not a COM DLL.

" runtime error 53 : file not found: rscomclNoMsg.dll" means that the VB6 did not find the DLL in any of it s search paths. It should be placed in either System32 or the application directory. Since you already tried System32 I would try moving it into whereever the application resides. If you are running it from the IDE then it has to be were the EXE or the DLL that has the DECLARE statement resides.

For Win32 DLL you need documentation on what functions are available and then use DECLARE to make them visible. As part of the declare statement you tell it what DLL to use. This MSDN article explains what going on.

DLL written in .NET have to be exposed through COM in order for them be visible to VB6.

If you have the source good you can look through the various project and find out where the declares are for rscomclNoMsg. Hopefully that will tell you where to place the dll.

More details will help refine my answer.

What is rccomclNoMsg.dll? Is it a COM DLL or a .NET DLL? If the DLL was written in .NET, you (or whoever wrote the DLL) will have to take some steps to make it COM visible.

This may help you: Steps to make your .Net DLL useable from VB6





相关问题
Prevent windows from queuing shellexecute requests

Win.ShellExecute 0, "open", "C:dirprogram.exe", "arguments", vbNullString, SW_SHOWNORMAL Win.ShellExecute 0, "open", "http://www.google.com", vbNullString, vbNullString, SW_SHOWNORMAL I want google....

Why is My Loop Only Deleting One File?

Using VB6 In a folder, i have n number of files, i want to delete a 0 kb files code Dim filename5 As String filename5 = Dir$(txtsourcedatabasefile & "*_*", vbDirectory) MsgBox filename5 Do ...

How to check the filesize?

Using VB6 I have the text file with different sizes, so i want to delete the file where filesize = 0 kb. How to make a vb6 code for deleting the 0 kb files. Need vb6 code Help

File Rename problem?

I m using VB6 and I have a folder where I have n number of files. I want to change the file extension to .txt. I used the code below to change the extension of all .fin files to .txt. Dim filename1 ...

Error 20728-F while in using Crystal Reports in VB6

I m using Crystal Reports in my VB6 project, but I m facing error while loading the report in crystalreport1.action=1; Please give me some solution for this problem. It is showing the error as Error ...

DllRegisterServer entry point was not found

When running my vb6 application I am getting error like, runtime error 53 : file not found: rscomclNoMsg.dll then i tried to register that dll from cmd line using regsvr32. Then I am getting ...

SQL Server 2000, ADO 2.8, VB6

How to determine if a Transaction is active i.e. before issuing Begin Transaction I want to ensure that no previous transaction are open.. the platform is VB6, MS-SQL Server 2000 and ADO 2.8

热门标签