Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error using DLL-call
Message
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Titre:
Error using DLL-call
Divers
Thread ID:
00553653
Message ID:
00553653
Vues:
54
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
Fil
Voir

Click here to load this message in the networking platform