MwnN
2007-08-11 21:27:51 UTC
Hi,
Having an issue with a Delphi component in BDS C++ 2006. As far as I know
the Delphi component was developed in Delphi 2005.
Delphi code
TBuffer = array[1..255] of char;
function ChangeData(Buffer: PAnsiChar): TBuffer;
BCB Code
typedef char TBuffer [255];
TBuffer __fastcall ChangeData(char * Buffer);
Error message I get is
E2091 Functions cannot return arrays or functions
I was reading searches in google that maybe a define might be needed for it
to be used in BDS C++ 2006 but I'm not sure what..
Thanks,
MwnN
Having an issue with a Delphi component in BDS C++ 2006. As far as I know
the Delphi component was developed in Delphi 2005.
Delphi code
TBuffer = array[1..255] of char;
function ChangeData(Buffer: PAnsiChar): TBuffer;
BCB Code
typedef char TBuffer [255];
TBuffer __fastcall ChangeData(char * Buffer);
Error message I get is
E2091 Functions cannot return arrays or functions
I was reading searches in google that maybe a define might be needed for it
to be used in BDS C++ 2006 but I'm not sure what..
Thanks,
MwnN