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