I am getting a compile error when I attempt to build PDFSpooler.
It says ErrPtnr variable not defined.
I see that it is a form that is present in both PDFCreator and TransTool. How do I get this compiler error to go away so that I can build? Thanks.
I am getting a compile error when I attempt to build PDFSpooler.
It says ErrPtnr variable not defined.
I see that it is a form that is present in both PDFCreator and TransTool. How do I get this compiler error to go away so that I can build? Thanks.
"but the resulting spooler produces no output, and no errors. I assume the files in the installer were compiled against different source that this ?"
compiled against different source... i think you are right..
i had same issue as you.. here is how i fixed it..
find following code in Publis Sub Main of modMain in PDFSpooler project.
50690 If IsWin9xMe Then
50700 Options = ReadOptions(True)
50710 Else
50720 WriteToSpecialLogfile "Read options: start"
50730 Options = ReadOptions(True, hProfile)
50740 WriteToSpecialLogfile "Read options: ready"
50750 End If
right after it add following code
50761 PrinterTemppath = Options.PrinterTemppath
compile.. and it should be fixed...
here is final code you should have:
50690 If IsWin9xMe Then
50700 Options = ReadOptions(True)
50710 Else
50720 WriteToSpecialLogfile "Read options: start"
50730 Options = ReadOptions(True, hProfile)
50740 WriteToSpecialLogfile "Read options: ready"
50750 End If
50760
50761 PrinterTemppath = Options.PrinterTemppath
50770 WriteToSpecialLogfile ""
50780 WriteToSpecialLogfile "Options.DirectoryGhostscriptBinaries=" & Options.DirectoryGhostscriptBinaries
50790 WriteToSpecialLogfile "Options.DirectoryGhostscriptFonts=" & Options.DirectoryGhostscriptFonts
50800 WriteToSpecialLogfile "Options.DirectoryGhostscriptLibraries=" & Options.DirectoryGhostscriptLibraries
50810 WriteToSpecialLogfile "Options.DirectoryGhostscriptResource=" & Options.DirectoryGhostscriptResource
50820 WriteToSpecialLogfile "Options.PrinterTemppath=" & Options.PrinterTemppath
hope it helps...
I am getting the same thing, too. I even got the latest code from the project's SVN repository today.
Any help would be appreciated.
I just tried to build this system a few minutes ago and ran into the same problem. If I find a solution I will post it here.
I cannot be the only one who has had this problem. Please help.
Nobody else has attempted to build from source?????? I haven't even changed anything yet and I cannot even build.
I have found that if you add the "PDFCreator_ErrPtnrDialog.frm" form to the PDFSpooler project it will compile without issue. To do this you need to uncheck the "unattended execution" option in the PDFSpooler project properties so that you can add forms to this project.
T.
I am getting the same issue.
PDFCreater.exe and TransTool.exe build fine. PDFSpooler does not.
Variable not defined in clsHASH.cls. The line is
Select Case ErrPtnr.OnError("clsHash", "Delete")
Please help!
Thanks in advance.
I have added the "PDFCreator_ErrPtnrDialog.frm" form to the PDFSpooler project, and it compiles, but the resulting spooler produces no output, and no errors. I assume the files in the installer were compiled against different source that this ?