MergeFiles declaration

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
Kiefer
Posts: 25
Joined: Mon Sep 30 2002

MergeFiles declaration

Post by Kiefer »

I can't get the merge function to work with MergeFiles. How should I have the declaration and calling parameters set up? This is what I have:

Declare Function MergeFiles Lib "CDIntf" (File1 As String, File2 As String, File3 As String, ByVal bRepeat As Boolean) As Boolean

Then:

Dim MergeOK as Boolean
...

' At this point I have the 2 pdf files, call then source.pdf and overlay.pdf:

MergeOK = MergeFiles("c:\temp\Overlay.pdf", "c:\temp\Source.pdf", "c:\temp\Source.pdf", False)

' so that the overlay overwrites the original, and there is no repeat. I don't get an error, but MergeOK is always False...
Post Reply