Menu

Wrapper examples problems on Embarcadero XE5

2015-08-20
2015-08-21
  • Dennis Rodman

    Dennis Rodman - 2015-08-20

    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
  • Davide Nardella

    Davide Nardella - 2015-08-20

    What demos ary you using ?

    Pascal demos are not VCL Form applications but Lazarus demos.
    Delphi_XE5.groupproj is a group of text examples.

     
  • Dennis Rodman

    Dennis Rodman - 2015-08-21

    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

Log in to post a comment.

MongoDB Logo MongoDB