Faster way to concatenate file?

The Amyuni PDF Converter is our Printer Driver that enables you to convert any documents to PDF format. If you have any questions about installing and using the Amyuni PDF Converter please post them here.
Post Reply
thomas_huber
Posts: 9
Joined: Wed Apr 10 2013

Faster way to concatenate file?

Post by thomas_huber »

I'm using PDF Converter within a MFC application.
Calling " BOOL ConcatenateFiles( LPCSTR file1, LPCSTR file2, LPCSTR file3 ) " to 500 Documents is quite timeconsuming.
I call it like this:

First file plus second file = firstresultfile

firstresultfile plus third file = secondresultfile

secondresultfile plus fourth file = thirdresultfile and so on ....

Is there a faster way?
Is " int DocAppend(EXTDOCHANDLE edhDocument, EXTDOCHANDLE edhSource) " faster?

Is ConcatenateFiles threadsafe?
Thread 1 is concatenating file 1 to 250
Thread 2 is concatenating file 251 to 500

Best regards,
Thomas
Post Reply