Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling a VB6 function in VFP
Message
 
 
To
28/07/2004 09:42:42
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00928678
Message ID:
00928690
Views:
27
AFAIK, VB6 can create COM dll's only.


>
>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?
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform