ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 ImageEn 8.1.2 and WPCubed

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
pmurawski Posted - Nov 28 2018 : 13:37:44
I bougth a plugin for IE, add module to uses and line as bellow to the Form Create:
---------------------------------------
if TIEWPCubedPDF.Initialize then
  begin
     TIEWPCubedPDF.RegisterPlugin;
     PDFPluginInitialized:= TIEWPCubedPDF.IsAvailable();
  end;

---------------------------------------
PDFPluginInitialized is finally true, but when I try to load a pdf file to the ImageENMView:
-------------------------------------------
if OpenDialog1.Execute then
    begin
      ImageEnMView1.Clear;
      ImageEnMView1.MIO.LoadFromFilePDF( OpenDialog1.FileName );
      if ImageEnMView1.ImageCount>0 then
        begin
          ImageEnMView1.SelectedImage := 0;
          ImageEnMView1.CopyToIEBitmap( ImageEnMView1.SelectedImage, ImageEnView1.IEBitmap );
          ImageEnView1.Update();
        end;
    end;


I got an exception: "Unexpected parameters for pdfMakeImageExt".
Do You suggest what I made wrong?

Piotr Murawski
8   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Nov 30 2018 : 17:03:13
Thanks for the update, Piotr

Nigel
Xequte Software
www.imageen.com
pmurawski Posted - Nov 30 2018 : 11:18:27
SOLVED! It was finally my mistake ... the license key started from '=' :).
Thank You All
Piotek


Piotr Murawski
pmurawski Posted - Nov 30 2018 : 03:55:11
Ok, i will send it. Yes, i did (license information)

Piotr Murawski
wpsupport Posted - Nov 30 2018 : 03:12:56
Please send your question to
support@wptools.de

Did you provide your license data in the call to the function?

WPCubed Support
pmurawski Posted - Nov 29 2018 : 01:41:17
Hi, I reproduce the same error on a demo app distributed with the WPViewPDF files named WPPDF_Multi. The error comming from wpcubed_pdf_plugin:

res := wpcubed_pdfMakeImageExt(
InStream,
OutStream,
PWideChar(filename),
@PageCount,
PWideChar(password),
PWideChar(WideString(glWPViewPDF_LicName)),
PWideChar(WideString(glWPViewPDF_LicKey)),
glWPViewPDF_LicCode,
PWideChar(os),
IOParams.ImageIndex+1,
IOParams.ImageIndex+1,
ImageResolution,
0 );
except
res := -1;
end;

A the end res value is -2 so finally event PDFException.Create('Unexpected parameters for pdfMakeImageExt') is rased.

Version: No, I check the WPVIEW only with IE 8.1.2 but maybe somethink has been changed in the plugin when they create wPDFViewMKIMG04.dll
I will made my investiogation :) too.
Thank You
Piotrek

Piotr Murawski
xequte Posted - Nov 28 2018 : 18:10:34
Hi Piotr

Are you saying it worked in a previous version of ImageEn? If so, what version was that?

There should be no changes to the PDF handling via WP Tools for several versions.



Nigel
Xequte Software
www.imageen.com
pmurawski Posted - Nov 28 2018 : 17:28:33
Hi Nigel,

I try to read different kind of PDF with the WPViewPDF V4 MKIMG extension and every time event was the same. I try to do this in the demos- I bought it yesterday so, may be is something new in that version.

All the best
Piotrek

Piotr Murawski
xequte Posted - Nov 28 2018 : 17:11:51
Hi Piotr

WP Tools PDF support is working fine when I test it here.

Are you able to reproduce this in the demos that came with the WPTools install?

Does it happen with all PDF files?



Nigel
Xequte Software
www.imageen.com