Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error using DLL-call
Message
 
To
All
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Title:
Error using DLL-call
Miscellaneous
Thread ID:
00553653
Message ID:
00553653
Views:
53
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
Map
View

Click here to load this message in the networking platform