T
TC
I'm using VB.NET 2005. I need to create a DLL containing a function
F(). A VB.NET application will reference the DLL by using a Declare
statement.
Declare Function F Lib "Foo.dll" (ByVal Woo As String) As Double
When I write the DLL and test it, however, I get a runtime error.
Unable to find an entry point named 'F' in DLL 'Foo.dll'.
Judging from the error, it sounds like I need to create an "entry
point" in my DLL. Can anyone tell me how to do that?
Please note that I have no control over the code which calls my
function. That code uses a Declare statement.
-TC
F(). A VB.NET application will reference the DLL by using a Declare
statement.
Declare Function F Lib "Foo.dll" (ByVal Woo As String) As Double
When I write the DLL and test it, however, I get a runtime error.
Unable to find an entry point named 'F' in DLL 'Foo.dll'.
Judging from the error, it sounds like I need to create an "entry
point" in my DLL. Can anyone tell me how to do that?
Please note that I have no control over the code which calls my
function. That code uses a Declare statement.
-TC