#1 2024-08-13 22:14:54

Zink
Member
Registered: 2020-11-28
Posts: 10

Acrobate reader close when try open an pdf file but open it in browser

Hello!

When i try to open a pdf in acrobate reader  this app close immediatly!! But when open in any browser works great!

How to fix this?

Thanks!

Offline

#2 2024-08-14 05:49:58

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,718
Website

Re: Acrobate reader close when try open an pdf file but open it in browser

I am not able to reproduce here.

1) Which compiler do you use?
2) Which version of SynPDF do you use? Where did you get from?
Note that we recommend using mormot.ui.pdf from mORMot 2 for any maintainable project, because it will be more maintained.

Please give a minimal reproducible example (see the forum rules).
Thanks!

Online

#3 2024-10-24 09:19:40

Zink
Member
Registered: 2020-11-28
Posts: 10

Re: Acrobate reader close when try open an pdf file but open it in browser

ab wrote:

I am not able to reproduce here.

1) Which compiler do you use?
2) Which version of SynPDF do you use? Where did you get from?
Note that we recommend using mormot.ui.pdf from mORMot 2 for any maintainable project, because it will be more maintained.

Please give a minimal reproducible example (see the forum rules).
Thanks!

Iam using Delphi6 and Version os Synpdf is 1.18.4554

After open pdf and exacly 10 seconds closes da acrobate!

https://tdpip-my.sharepoint.com/:b:/g/p … w?e=nXx49t

Last edited by Zink (2024-10-24 09:45:09)

Offline

#4 2024-10-24 09:27:55

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,718
Website

Re: Acrobate reader close when try open an pdf file but open it in browser

Use the latest version please.
From mormot 1 or mormot 2.

Online

#5 2024-10-24 09:46:03

Zink
Member
Registered: 2020-11-28
Posts: 10

Re: Acrobate reader close when try open an pdf file but open it in browser

ab wrote:

Use the latest version please.
From mormot 1 or mormot 2.

Can you send me link to that update, please?

Offline

#6 2024-10-24 13:59:22

ttomas
Member
Registered: 2013-03-08
Posts: 135

Re: Acrobate reader close when try open an pdf file but open it in browser

Offline

#7 2024-10-24 20:23:16

Zink
Member
Registered: 2020-11-28
Posts: 10

Re: Acrobate reader close when try open an pdf file but open it in browser

Hi!
I try to compile synpdf.pas but rise error Undeclared Identifier Bool_Utf8.

Can you help me?

Offline

#8 2024-10-24 22:49:57

ttomas
Member
Registered: 2013-03-08
Posts: 135

Re: Acrobate reader close when try open an pdf file but open it in browser

Declared in SynCommons.pas, do you mix old and new pas files?

Offline

#9 2024-10-25 00:11:09

Zink
Member
Registered: 2020-11-28
Posts: 10

Re: Acrobate reader close when try open an pdf file but open it in browser

ttomas wrote:

Declared in SynCommons.pas, do you mix old and new pas files?

Well i though it was only compile synpdf.pas!

Offline

#10 2024-10-25 00:44:57

Zink
Member
Registered: 2020-11-28
Posts: 10

Re: Acrobate reader close when try open an pdf file but open it in browser

ttomas wrote:

Declared in SynCommons.pas, do you mix old and new pas files?

In syntable.pas undeclared identifier Ptrint

Whats this?

Offline

#11 2024-10-25 01:41:02

Zink
Member
Registered: 2020-11-28
Posts: 10

Re: Acrobate reader close when try open an pdf file but open it in browser

ttomas wrote:

Declared in SynCommons.pas, do you mix old and new pas files?

It finaly work again but my problem remains!!
Open pdf in browser works fine but open in acrobate, last version, after 10 secs close it self!!

Offline

#12 2024-10-26 21:55:56

Zink
Member
Registered: 2020-11-28
Posts: 10

Re: Acrobate reader close when try open an pdf file but open it in browser

i copy the last updtate  but sometimes rise this error in syntable: undeclared indentifier PtrInt.

type
  PMatch = ^TMatch;
  TMatchSearchFunction = function(aMatch: PMatch; aText: PUTF8Char; aTextLen: PtrInt): boolean;


how can i fix it?

Offline

Board footer

Powered by FluxBB