Author |
Topic |
|
w2m
USA
1990 Posts |
Posted - Jul 01 2017 : 14:44:12
|
if not AIEMultiBitmap.Write(iFilePath, iomscWPPDF) then [dcc64 Error] Unit1.pas(2072): E2250 There is no overloaded version of 'Write' that can be called with these arguments?
How to save TIEMultiBitmap to WPPDF file?
Bill Miller Adirondack Software & Graphics Email: w2m@hughes.net EBook: http://www.imageen.com/ebook/ Custom Commercial ImageEn Development |
|
xequte
38194 Posts |
Posted - Jul 02 2017 : 23:38:45
|
Hi Bill
If you call:
IEMultiBitmap.Write( 'D:\File.pdf' ) and WPPDF is registered, then it will default to iomscWPPDF format.
Otherwise, download the latest version from Git. I have added File Format as a parameter.
Nigel Xequte Software www.xequte.com nigel@xequte.com
|
|
|
w2m
USA
1990 Posts |
|
xequte
38194 Posts |
Posted - Jul 06 2017 : 19:19:08
|
Hi Bill
It saves correctly for me with your demo. Are you using the latest source from Git?
What is the error that you encounter?
Nigel Xequte Software www.xequte.com nigel@xequte.com
|
|
|
w2m
USA
1990 Posts |
Posted - Jul 07 2017 : 10:33:57
|
Hi Nigel,
I managed to get logged into Git and recompiled the demo with the latest Git update and it now saves correctly with Win32, but it still fails with Win64. Did you change wpcubed_pdf_plugin.pas?
With Win64 it fails here: if not AIEMultiBitmap.Write(iFileName) then The result is False.
I have ielib64.dll, wp_type1ttf.dll, wp_type1ttf64.dll, wPDFViewDemo04.dll, wPDFViewMKIMG04.dll and wPDFViewMKIMG04x64.dll in the exe folder.
This is difficult to understand because a Win64 app with TImageENMView does not produce and IO error when saving a pdf file even though the same dlls are used.
Bill Miller Adirondack Software & Graphics Email: w2m@hughes.net EBook: http://www.imageen.com/ebook/ Custom Commercial ImageEn Development |
|
|
w2m
USA
1990 Posts |
Posted - Jul 10 2017 : 08:51:45
|
Please reply. Can the demo be compiled with Win64 and save pdf without error?
Bill Miller Adirondack Software & Graphics Email: w2m@hughes.net EBook: http://www.imageen.com/ebook/ Custom Commercial ImageEn Development |
|
|
xequte
38194 Posts |
Posted - Jul 11 2017 : 22:48:22
|
Sorry Bill,
I missed your response.
I've just tested under 64bit and did not encounter an error. wpcubed_pdf_plugin.pas is now included with the ImageEn source, so ensure you delete any other versions that are on your compilation path.
Also, ensure that you also updated the source in the folder used for 64bit Delphi compilation.
Failing that, you might want to step into the ImageEn code to see where it is failing.
Nigel Xequte Software www.xequte.com nigel@xequte.com
|
|
|
|
Topic |
|