-
November 12th, 2008, 09:00 AM
#1
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
-
November 12th, 2008, 09:52 AM
#2
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.
If you find my answers helpful, dont forget to rate me
-
November 12th, 2008, 10:31 AM
#3
Re: newbie in DLL
This should be a good read for you...
Last edited by dee-u; November 12th, 2008 at 10:44 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|