Dllregisterserver Was Not Found Windows 10

0 views
Skip to first unread message

Wesley Godinez

unread,
Aug 4, 2024, 5:54:23 PM8/4/24
to phoraseama
Ourwebsite uses Javascript for richer browsing experience. Unfortunately looks like your browser either doesn't support Javascript or Javascript is disabled.

Please enable Javascript to continue browsing.


I am working trying to write a VB application using the EPANET2.DLL. Theproblem that I am running into is that the DLL will not register correctlywith the operating system and therefore can not be used by VB. I have beenusing REGSVR32 to register the DLL but the error message that I continue toget is:


epanet2.dll was loaded, but the DllRegisterServer entry point was not found.DllRegisterServer may not be exported, or a corrupt version of epanet2.dllmay be in memory. Consider using PVIEW to detect and remove it.


I have checked and the DLL is not loaded in memory. This leads me tobelieve that the DLL may be corrupt. Does anyone have any thoughts whatcould be causing this error and how I might get around it. I have triedthis on both a Win2000 and NT4 machine with similar results.


You don't need to register the file Epanet2.dll. If you declare the toolkit functions in the normal way (or use epanet2.bas supplied by Lew) VB will then search for the epanet2.dll file firstly in the host VB application directory, and then if it cannot find it there it searches in the windows system and windows directories.


You only need to register DLL files that are OLE Servers (that conform to the ActiveX spec). The reason for this is that you don't declare functions from these types of DLLs, but instead you instantiate objects from the classes they provide and use their properties and methods. To reference an OLE Server DLL VB needs to have a project reference to the file set (Project --> References if I recall it correctly), and to do this the DLL file needs to be registered (using regsvr32 is one way to register the file). This isn't the case for epanet2.dll.


Still working on this deployment. I am installing a PB 12.5 app with SQL Anywhere 12 DB. The install completes. When I run the App, I get a message that Windows can't find pbvm125.dll. This file is definitely in the application folder. 'C:\whatsnext'. The registry app paths key specificies that folder and the apllcation exe name. I tried to register the dll using both


I faced this problem today. I was installing the new release of our application (PB executable) on our two citrix servers. After installation, it worked but on one server but on other one it thrown the error "Unable to find pbvm125.dll"


If you run the EXE from the same directory that the DLLs are in, then you don't need to set windows App Paths (unless you want the exe to be found and run from anywhere and not just a shortcut on the desktop/start menu.)


I used the runtime packager to create the files on my source computer. Then I checked file by file against the deployment documentation. There seem to be many more files in the packager than the documentation mentions. There were no documented files missing. I went through the exercize again and got the same result. The installation complete. When I run the application I get the error msg: "PBVM125.dll is not found".


When you deploy the core PowerBuilder runtime files, you must also deploy the msvcr71.dll, and msvcp71.dll, msvcp100.dll, and msvcr100.dll Microsoft Visual C++ runtime libraries and the Microsoft .NET Active Template Library (ATL) module, atl71.dll, if they are not present on the user's computer..

3a8082e126
Reply all
Reply to author
Forward
0 new messages