Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: Fri Aug 08 08:28:39 CEST 2025

Total time taken to generate the page: 0.05241 seconds