Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement