Hello, I’m trying to use the wrappers example on Embarcadero XE5.
1) VCL Form Application C++ Builder
I think you have to replace in the wrapper example
TS7Client * Client; with TS7Client * MyClient;
I have one error for each row using MyClient [ilink32 Error] Error: Unresolved external 'TS7Client::~TS7Client()' referenced from C:\USERS...\DOCUMENTS\RAD STUDIO\PROJECTS\C1\WIN32\DEBUG\UNIT1.OBJ
2) VCL Form Application Delphi
works fine
3) Mobile Application Delphi
According to migrating Delphi Code from Desktop to Mobile (from VCL to FMX) I have to convert: AnsiChar to Char, PAnsiChar to String, AnsiString to Array of Byte.
Is there any better way to work?
Thanks in advance.
Last edit: Dennis Rodman 2015-09-22
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, I’m trying to use the wrappers example on Embarcadero XE5.
1) VCL Form Application C++ Builder
TS7Client * Client; with TS7Client * MyClient;
2) VCL Form Application Delphi
3) Mobile Application Delphi
According to migrating Delphi Code from Desktop to Mobile (from VCL to FMX) I have to convert: AnsiChar to Char, PAnsiChar to String, AnsiString to Array of Byte.
Is there any better way to work?
Thanks in advance.
Last edit: Dennis Rodman 2015-09-22
What demos ary you using ?
Pascal demos are not VCL Form applications but Lazarus demos.
Delphi_XE5.groupproj is a group of text examples.
I have copied code from http://snap7.sourceforge.net ,
menu: Snap7 library API -> Wrappers -> sections Pascal and C++
Last edit: Dennis Rodman 2015-09-22