You probably have the Dependencies Walker utility that comes with VStudio. Open your DLL using this utility and check names of your exported functions. Most likely they look like __@34567 or __GetDLLVersion I don't know how to avoid this in VB but in VC++ you will need to create .DEF file and list every exported function in this file. Also make sure you use standard calling conventions in your project, e.g. __stdcall. This will ensure that exported functions will have correct names. : I am trying to call a method inside a dll that I built in Visual basic. I am : using the following statement, but am recieving a "GetDLLVersion() : not found" error returned. It's finding the dll but not the function. : Call ("UCCRevenue.dll","GetDLLVersion()","s", : True,, strRtnVersion) : To do the samething in VB Script (from an ASP page) I would do the following. : Is the class getting in the way? : Set oNewObj = Server.CreateObject("UccRevenue.cUccRevenue") : Response.Write("UccRevenue instantiated...Version: " & : oNewObj.GetDLLVersion() & " ") : Set oNewObj = Nothing : Please help.
|