Halo Forum.
Do someone make .DLL with string inputs/outputs? I can't think out how I can make it. Have some examples of such a module?
DevC++ .DLL - how to make string inputs/outputs?
Re: DevC++ .DLL - how to make string inputs/outputs?
Please see
...\Examples\New features V40\Strings\DLL\...
in your installation directory.
...\Examples\New features V40\Strings\DLL\...
in your installation directory.
ABACOM support
Re: DevC++ .DLL - how to make string inputs/outputs?
When I try to load example from C++ builder directoty, I got the message "... VCL35.bpl not found..."
Example from delphi directory works.
May be You have some devC++ example?
Example from delphi directory works.
May be You have some devC++ example?
Re: DevC++ .DLL - how to make string inputs/outputs?
I try to realize this example in DevC++, but no success. May be You can help in some topics:
It is in Dll.help function
.. CCalculate (double *PINput, double *POutput, double *PUser),
but in the c++ build in example from NewFeatures4.0 directory
... CCalculate (double *PINput, double *POutput, double *PUser, StringParam PStrings)
may be I misse something, but with such argument list .dll make error in project compilation .
And if I define as in example
typedef unsigned char *PChar;
function strcpy() didn't work with PChar(PStrings[HexOutPin]
So I see no way now to make working with strings .dll.
It is in Dll.help function
.. CCalculate (double *PINput, double *POutput, double *PUser),
but in the c++ build in example from NewFeatures4.0 directory
... CCalculate (double *PINput, double *POutput, double *PUser, StringParam PStrings)
may be I misse something, but with such argument list .dll make error in project compilation .
And if I define as in example
typedef unsigned char *PChar;
function strcpy() didn't work with PChar(PStrings[HexOutPin]
So I see no way now to make working with strings .dll.