Home » Community » Newbie corner » OLE Automation (Request more help with OLE Automation)
Re: OLE Automation [message #51304 is a reply to message #51280] |
Mon, 04 March 2019 15:21 |
omari
Messages: 265 Registered: March 2010
|
Experienced Member |
|
|
Hi,
plaise test the package OleAut , it is intended to simplify Ole Automation.
the code for the example above is :
StringBuffer stdfile;
OleObject staad = OleAut::CreateObject("StaadPro.OpenSTAAD");
staad.Method("GetSTAADFile", stdfile, true);
int length = staad("geometry")("getbeamlength", x);
Note:
i do not have any case when a methode use an output parameter, then it is not tested.
regards
omari.
|
|
|
Goto Forum:
Current Time: Sun Apr 28 22:14:05 CEST 2024
Total time taken to generate the page: 0.02733 seconds
|