|
-
November 7th, 2001, 11:15 PM
#3
Re: Simple DLL
Hi,
I have built your code to DLL1.dll, it is all OK
but when I use Sum function in VB it have an error.
My VB code like this:
Private Declare Function Sum Lib "DLL1.DLL" (Byval p_no1 As Integer,Byval p_no2 As Integer) As Integer
Private Sub Command1_Click()
MsgBox Sum(1, 1)
End Sub
and the Error show: Can't find entry point Sum in DLL1.dll
Can you tell me why?
Thank you very much.
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
|