-
newbie in DLL
DLL is new to me, and i did the following thru VB6
class1(myfristclassdll)
Option Explicit
Public i As Integer
Public vCounter As Long
Public vRecCount As Long
Public vValue As Long
Public Function Seekok(pparam As String, pparam2 As String) As Boolean
Seekok = False
End Function
I have compile this and created a DLL file, how can i use this in my vb6 app.
rgds
cyrus
-
Re: newbie in DLL
In your new project you simply make a reference to it through project/references.
then in code you can either
Early bind:
Code:
dim myDll as new myfristclassdll
or late bind:
Code:
dim myDll = CreateObject("myfristclassdll")
If you wish to debug it then make a project group, placing this project with your new project.
-
Re: newbie in DLL
This should be a good read for you...