en de fr
Forum

COM interface c++

4 Antworten [Letzter Beitrag]
rlssousa
Offline
Beigetreten: 10/26/2009

Does anyone use the PDFCreator in c++???

I have several errors.

If I #import PDFCreator.exe, _Collection is not defined.

If I extract the classes every time I CreateDispatch gives invalid handle.

Thxs

rlssousa
Offline
Beigetreten: 10/26/2009

Finaly I can use the COM Interface in c++.

I installed the PDFCreator in server mode, and it works.

Now I have outher problem, the sample code should work with the PDFCreator in silent mode (thats what I need), but it always promped me the dialog interface for save. Even setting all the AutoSave option, it promps.

Frank
Bild von Frank
Offline
DeveloperTranslator
Beigetreten: 05/05/2006

Post the code please.

__________________

Frank Team pdfforge

sherry2000
Offline
Beigetreten: 11/30/2009

@rlssousa: I too want to use pdfcreator via COM, but it's the first time using COM. And a specialty here is that I have to use a somewhat old Borland 5 C++ compiler. Do you have a small example code which shows the necessary elements for using the pdfcreator interface?

kind regards

sherry2000

spieler67
Offline
Beigetreten: 12/09/2009

Using wxWidgets (most) of the functions works. Within wxWidgets you can use wxAutomationObject etc. for using the COM interface.

__________________

Kind regards

Rolf (aka spieler67)