U++ framework
Do not panic. Ask here before giving up.

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 Go to previous messageGo to previous message
omari is currently offline  omari
Messages: 276
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.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Do I need to include math.h twice in the core.h file?
Next Topic: include webview/webview
Goto Forum:
  


Current Time: Wed Jul 29 06:23:41 GMT+2 2026

Total time taken to generate the page: 0.00567 seconds