I was able to create a DLL using the method you described. Thankyou for
getting me this far. However, I'm now having a problem with the Entry Point
of the function in the DLL. When the function is called, the entry point
can't be found. Here is my example that I can't get to work. I guess my
problem is that I don't know how to establish a valid EntryPoint.
RUN TIME ERROR received when it comes to line "qq=zzz()":
"Unable to find an entry point named zzz in DLL K:\aadll\mydll"
**** Code in the class Module that compiled to mydll.dll
Public Class Class1
Public Function zzz() As Integer
zzz = 77
End Function
End Class
****
#### code in the forms module to use the above dll function
Public Class Form1
Inherits System.Windows.Forms.Form
Declare Function zzz Lib "K:\aadll\mydll" As Integer
..
..
..
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Dim qq As Integer
qq = zzz() 'check qq to see if I got 77
End Sub
End Class
####
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:uM***************@TK2MSFTNGP12.phx.gbl...
"Ken Soenen" <ks*****@trip.net> schrieb: Can anybody tell me the steps involved in making a DLL. Or, better yet
point me to any help info that describes the procedure.
I'm using DOT NET 1.1 standard version.
Creating class libraries with the Standard edition of Visual Basic .NET
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=standardclasslibraries&lang=en>
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>