Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling a VB6 function in VFP
Message
From
28/07/2004 09:42:42
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Calling a VB6 function in VFP
Miscellaneous
Thread ID:
00928678
Message ID:
00928678
Views:
78
Hi,

People told me to call a function contained in a DLL (to be) written in VB6.

The VB6 function (FunctionToExecute) will be contained in a .dll file (VB6DLL.dll). It will accept one string parameter (pStringParameter) and will return a string value (cReturnedStringValue).

My test program is:
 Declare String FunctionToExecute In VB6DLL String pStringParameter

 cStringParameter = "any string"

 cReturnedStringValue = FunctionToExecute (cStringParameter)
How should that VB6 function be written? Is my test program (above) written accordingly with the function specifications as I presented?

TIA,

Fernando
Next
Reply
Map
View

Click here to load this message in the networking platform