The test is made in the same PC, using the same files.
The same program works fine in WD14.
The project puts one PDF file in one image conntrol and saves the image control in PNG format.
When I use the GO i can see the content of the PDF in the IMAGE CONTROL a it saves the PNG file, if i run the EXE the image control looks empty.
The the only code used in the project is in the initialization of the image control:
MySelf..Height = 1160
MySelf..Width = 820
MySelf..Value = CompleteDir(fExeDir)+"APT2B9B.pdf"
MultitaskRedraw()
Info(MySelf..PageNumber,MySelf..NumberPage)
dSaveImagePNG(MySelf,CompleteDir(fExeDir)+"PDF_IN_PNG")
//Close()
The info in debug mode (GO) shows 1 1 and in execution mode 0 0
Regards
Paulo Oliveira
Edited 3 time(s). Last edit at 07/08/2022 05:27PM by pao.