General information
Category:
Coding, syntax & commands
Title:
Error using DLL-call
Hi,
I'm totally newbie at using DLL's but I want to give it a shot.
I created the following code in project1.dll:
'---------------------------------
Option explicit
Public Function GeefNaam() as string
dim res
res=inputbox("Give name","Test DLL")
GeefNaam=res
end function
'-----------------------------------
In a new project I made a form and placed a button on it. The following code
was created.
'------------------------------------
Option Explicit
private declare function GeefNaam Lib "project1.dll" () as string
private sub Command1_Click()
text1.text = GeefNaam
end sub
'----------------------------------
When I run my application and press the button I receive the following
error:
Can't find DLL entry point in project1.dll
Can somebody tell my what I do wrong of forget to do ??
Please Help me..
Great thanks !!!!!
Piet Kouwer
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only