PKFPolk
Feb 18th, 2008, 09:49 AM
Although I have used Visual Basic in the past, I am new to VB 2005 and have never developed a DLL.
I am using a Class Library to develop the DLL and here is the following code:
Public Class RlpVal
Public Function ValExp(ByVal val01 As String, ByVal val02 As String, ByVal val03 As Integer)
Dim val04 As Integer
val01 = "Test1"
val02 = "Test2"
val03 = -1999
Return val04
End Function
End Class
When I go to register it, I get it was loaded but the DllRegisterServer Entry Point was not found and it could not be registered.
This dll will ultimately be enhancements for use with another DLL from a vendor that needed to be registered for a 3rd party scripting language. The same will need to be done with this DLL.
I have a test program that could not see either DLL even though it was added as a reference. When I registered the vendor's DLL (no errors), I could see it.
I need help on how to add an entry point. There is no place on the application pane to put an entry point and Startup Object only shows "(none)" as a choice.
Any help to get an entry point into my DLL will be greatly appreciated.
I am using a Class Library to develop the DLL and here is the following code:
Public Class RlpVal
Public Function ValExp(ByVal val01 As String, ByVal val02 As String, ByVal val03 As Integer)
Dim val04 As Integer
val01 = "Test1"
val02 = "Test2"
val03 = -1999
Return val04
End Function
End Class
When I go to register it, I get it was loaded but the DllRegisterServer Entry Point was not found and it could not be registered.
This dll will ultimately be enhancements for use with another DLL from a vendor that needed to be registered for a 3rd party scripting language. The same will need to be done with this DLL.
I have a test program that could not see either DLL even though it was added as a reference. When I registered the vendor's DLL (no errors), I could see it.
I need help on how to add an entry point. There is no place on the application pane to put an entry point and Startup Object only shows "(none)" as a choice.
Any help to get an entry point into my DLL will be greatly appreciated.