Forum How do I...?

Calling Prince from a C++ Application. Is it possible?

nelobo
Dear All,

I am trying to find a pdf document generator that i can use from a c++ application.
After doing some search i found prince solution which seems to be a good answer. However after reading installation instructions I understand that it can be used from command line or from java, .net, coldfusion, visual-basic ... but c++ is not mentioned.

Is it possible today to integrate prince with a c++ application?

Thank you
mikeday
Yes, you can invoke Prince as a command-line application, so any mechanism for spawning a new process will work. For example, fork/exec on Linux, CreateProcess on Windows, or if you are using a C++ application framework it may provide it's own mechanism for running external processes.
nelobo
Clear.

Thank you for your answer