Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] How call in SWT method with parameter type packed record

Hello!

I have ActiveX application, wrote on Delphi. I used it in SWT.
Application have some methods with in and/or out parameters type packed
record. How i can call this methods?

record in ActiveX application

mvCenterWindow = packed record
    x: Integer;
    y: Integer;
 end;


Code:

int[] ids = automation.getIDsOfNames(new String[]{"getCenter"});
Variant centerGlobal = automation.invoke(ids[0]);

return: "Unsupported Type 36"

Please give me example.

Best regards, Alexei.




Back to the top