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: 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.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: U++ with Visual Studio 2017?
Next Topic: [solved] Is it an encoding problem ?
Goto Forum:
  


Current Time: Sun Apr 28 22:14:05 CEST 2024

Total time taken to generate the page: 0.02733 seconds