Hi!
I've some problems with SAP functions call in 64 Bit SAP Gui. I must make a 32 Bit Application, because we have other interfaces in this application and they are only available in 32 Bit.
Now the problem is our company has rollout the 64 bit SAP and have a SAP functions call. How can I call this with a 64 Bit SAP GUI client?
/* my code */
private oleobject sapconnection;
oleobject sapobject;
ole_sap = CREATE OLEObject
ole_sap.ConnectToNewObject("sap.functions");
sapobject = ole_sap;
sapconnection = sapobject.connection;
sapconnection.Client = this.is_sapclient;
sapconnection.User = ls_sapuser;
sapconnection.password = "xxxxxxx
sapconnection.Language = this.is_sapsprache;
sapconnection.ApplicationServer = "xxxx
sapconnection.SystemNumber = xx
sapconnection.System = "Q10";
sapconnection.logon(0,True);
ole_sap.ConnectToNewObject("sap.functions"); --> Error