Good day
watch this video
www.pdfv.admis.sk/pdfxviewer.mp4
Thank you Miro
An interesting problem in delphi2007+2009
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- User
- Posts: 59
- Joined: Sat May 09, 2009 3:05 pm
-
- Site Admin
- Posts: 5223
- Joined: Tue Jun 29, 2004 10:34 am
Re: An interesting problem in delphi2007+2009
Very interesting - but all this occurs way to quickly and without allowing us to investigate the your actual code - which particuarly as we are not natively Delphi Dev's is problematic.
Please supply a simplified project with a full set of your Delphi source files - zipped) and with NO license info and we will try and assist.
Without these there is little we can do.
Also please advise which build of our products you are using (version info)
Please supply a simplified project with a full set of your Delphi source files - zipped) and with NO license info and we will try and assist.
Without these there is little we can do.
Also please advise which build of our products you are using (version info)
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.
Best regards
Tracker Support
http://www.tracker-software.com
Best regards
Tracker Support
http://www.tracker-software.com
-
- User
- Posts: 59
- Joined: Sat May 09, 2009 3:05 pm
Re: An interesting problem in delphi2007+2009
source D2007 is attached.
My PDF viewer is version 199 PRO registered.
And SDK for pdf viewer dlls is in attached archive.
Miro
My PDF viewer is version 199 PRO registered.
And SDK for pdf viewer dlls is in attached archive.
Miro
-
- User
- Posts: 59
- Joined: Sat May 09, 2009 3:05 pm
-
- User
- Posts: 59
- Joined: Sat May 09, 2009 3:05 pm
Re: An interesting problem in delphi2007+2009
Hi John
problem is
Delphi 7 sample definition is:
procedure TForm1.CoPDFXCview1Event(ASender: TObject; Type_: Integer;
const Name: WideString; const DataIn: OleVariant; out DataOut: OleVariant;
Flags: Integer);
Delphi 2007 and 2009
procedure TForm1.CoPDFXCview2Event(ASender: TObject; Type_: Integer;
const Name: WideString; DataIn: OleVariant; out DataOut: OleVariant;
Flags: Integer);
Miro
problem is
Delphi 7 sample definition is:
procedure TForm1.CoPDFXCview1Event(ASender: TObject; Type_: Integer;
const Name: WideString; const DataIn: OleVariant; out DataOut: OleVariant;
Flags: Integer);
Delphi 2007 and 2009
procedure TForm1.CoPDFXCview2Event(ASender: TObject; Type_: Integer;
const Name: WideString; DataIn: OleVariant; out DataOut: OleVariant;
Flags: Integer);
Miro
-
- Site Admin
- Posts: 19913
- Joined: Mon Jan 12, 2009 8:07 am
Re: An interesting problem in delphi2007+2009
Hello Miro,
Just to confirm - the text in red in your above post is the cause of the problems and we shall consider this as solved right?
Best,
Stefan
Just to confirm - the text in red in your above post is the cause of the problems and we shall consider this as solved right?
Best,
Stefan
-
- User
- Posts: 59
- Joined: Sat May 09, 2009 3:05 pm
Re: An interesting problem in delphi2007+2009
Hi Stefan,
yes
Delphi 2007 and 2009 generates event method without "const" for DataIn parameter.
The method causes crash.
Just add "const" before DataIn parameter then method works OK.
Miro
yes
Delphi 2007 and 2009 generates event method without "const" for DataIn parameter.
The method causes crash.
Just add "const" before DataIn parameter then method works OK.
Miro
-
- Site Admin
- Posts: 7370
- Joined: Wed Mar 25, 2009 10:37 pm
Re: An interesting problem in delphi2007+2009
Hi miromr,
do you need anything more from us here?
regards
do you need anything more from us here?
regards
Best regards
Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
-
- User
- Posts: 59
- Joined: Sat May 09, 2009 3:05 pm
Re: An interesting problem in delphi2007+2009
Hi, Paul
no. problem is solved.
Thank you very much
Miro
no. problem is solved.
Thank you very much
Miro
-
- Site Admin
- Posts: 19913
- Joined: Mon Jan 12, 2009 8:07 am