64-Bit Conversion of Plug In

Add-in Express™ Support Service
That's what is more important than anything else

64-Bit Conversion of Plug In
 
William Vermaak




Posts: 8
Joined: 2017-01-11
Hey guys,

I need some help. I need to convert my plugin to 64-Bit. In 32-Bit everything works perfectly, but in 64-Bit it compiles with no issues, but as soon as I run it I get a Access Violation. Now I know I have to change the pointers etc, but I cannot see the issue with below.


procedure TLoginForm.Button1Click(Sender: TObject);
var
  Reg : TRegistry;
  Details : SignFlowAPI.Logininfo;              // The SOAP envelope continaing the login details
  LIResponse : SignFlowAPI.LoginResponse;       // The SOAP response envelope
  service : APISoap;                            // The SOAP Service
begin
  Reg := TRegistry.Create;

    // Configure the SOAP Connector
    service := (HPSignFlow as APISoap);

    // Initialise Variables
    Details := Logininfo.Create;
    LIResponse := LoginResponse.Create;
    SFToken := Token4.Create;

    // Try to Login
    try
      // Set UserName and Password in SOAP Envelope
      Details.UserName := 'hello@nope.com';
      Details.Password := 'MyPassword';

      try
        // Do the login sequence on the server
        LIResponse := service.Login(Details);   <******* Exception HERE
      except
        StatusBar1.Panels[0].Text := 'Server Error';
      end;

...


I'm using HTTPRio to connect to a SOAP service.
Posted 24 Jan, 2017 02:18:45 Top
Andrei Smolin


Add-in Express team


Posts: 14094
Joined: 2006-05-11
Hello William,

This issue seemingly doesn't relate to Add-in Express. Try to reproduce it in a standalone application project and contact the vendor.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 24 Jan, 2017 06:08:54 Top