PDA

View Full Version : How can you automate Monarch with C/C++?


stevegabriel
October 7th, 2008, 12:42 PM
Hi All,
I have a lot of reports and several dozen models that I use to extract
data from them. We'd like to automate part of this process by programatically determining the report being read, the model to use and then calling Monarch
to process them and put the extracted data into a central repository where
the output will be loaded into an Oracle database.

My question is how can we use C/C++ to open the model file and the reports and export the data.

Thanks.

Data Kruncher
October 7th, 2008, 12:56 PM
The Monarch Programmer's Guide (http://www.datawatch.com/downloads/Monarch_8_Programmers_Guide.pdf) mentions that you can automate Monarch with C or C++, but it lack concrete examples of such as all of the programming examples are for VB/VBA.

I don't recall seeing any good C/C++ examples posted here for your reference. There are quite a number VBA samples though.