ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* AcroRd32 Runtime Error
@ 2011-10-03 17:14 Wolfgang Werners-Lucchini
  0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Werners-Lucchini @ 2011-10-03 17:14 UTC (permalink / raw)
  To: ntg-context

Hallo,

I have updated my context after a very long time.
The first test run does not work because an initally dde attempt to 
acroread.

I got the following errormessage:

    Microsoft Visual C++ Runtime Library

    Runtime Error!
    Program: C:\Programme\Adobe\Reader 9.0\Reader\AcroRd32.exe

    This application has requested the Runtime to terminate it in an  
unusual  way.
    Please contact the application's support team for more 
information.

I have Acrobat Reader Version 9.4.6. This is working ok with pdf 
files and this has worked ok with context prior to the update.

What can I do to solve the problem?

Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: AcroRd32 Runtime Error
  2011-10-04 23:42 ` Wolfgang Werners-Lucchini
@ 2011-10-05  7:36   ` Hans Hagen
  0 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2011-10-05  7:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Wolfgang Werners-Lucchini

On 5-10-2011 01:42, Wolfgang Werners-Lucchini wrote:
> Hallo,
>
>> see l-pdfview.lua ... the clal on windows is: pdfopen --ax --file
>>
>> anyhow, unfortunately the pdfopen/close programs are not consistent
>> with
>> respect to dealing with commandline options on different platforms
>> (and
>> also not downward compatible) which in fact renders them somewhat
>> useless (it woudl be nice if someone would normalize them)
>>
>> Hans
>
> if I give the command: context --autopdf a.tex
>
> I get the runtime error and after the context run
>
> mtx-context     | pdfview methods: acrobat default okular, current
> method: acrobat (directives_pdfview_method)Cannot contact a server.
>
> pdfopen --ax --file a.pdf
> pdfopen --rx --file a.pdf
> pdfopen --file a.pdf
>
> works ok
>
> pdfclose --ax --file a.pdf
> pdfclose --rx --file a.pdf
> pdfclose --file a.pdf
>
> works ok too, if not following a pdfopen, otherwise I get:
>
> Cannot execute command "[DocClose("%s")]" (error 16393)
>
> Shouldn't be the first two variants for acrobat (resp. reader) 10?
> I wonder why they are working. I have the reader 9.4.6 and no acrobat
> at all.

I only have 10 and there it works ok. Ideally the pdfopen/close programs 
should be clever enough to figure out what acrobat they deal with. If 
needed I can introduce (next weekend or so) a 'open pdf' and 'close pdf' 
in the configuration file so that one can tweak it.

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: AcroRd32 Runtime Error
       [not found] <mailman.3442.1317766999.4231.ntg-context@ntg.nl>
@ 2011-10-04 23:42 ` Wolfgang Werners-Lucchini
  2011-10-05  7:36   ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Werners-Lucchini @ 2011-10-04 23:42 UTC (permalink / raw)
  To: ntg-context

Hallo,

> see l-pdfview.lua ... the clal on windows is: pdfopen --ax --file
> 
> anyhow, unfortunately the pdfopen/close programs are not consistent
> with 
> respect to dealing with commandline options on different platforms
> (and 
> also not downward compatible) which in fact renders them somewhat 
> useless (it woudl be nice if someone would normalize them)
> 
> Hans

if I give the command: context --autopdf a.tex

I get the runtime error and after the context run

mtx-context     | pdfview methods: acrobat default okular, current 
method: acrobat (directives_pdfview_method)Cannot contact a server.

pdfopen --ax --file a.pdf
pdfopen --rx --file a.pdf
pdfopen --file a.pdf

works ok

pdfclose --ax --file a.pdf
pdfclose --rx --file a.pdf
pdfclose --file a.pdf

works ok too, if not following a pdfopen, otherwise I get:

Cannot execute command "[DocClose("%s")]" (error 16393)

Shouldn't be the first two variants for acrobat (resp. reader) 10?
I wonder why they are working. I have the reader 9.4.6 and no acrobat 
at all.

Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: AcroRd32 Runtime Error
  2011-10-04 16:39 ` Wolfgang Werners-Lucchini
@ 2011-10-04 22:23   ` Hans Hagen
  0 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2011-10-04 22:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Wolfgang Werners-Lucchini

On 4-10-2011 18:39, Wolfgang Werners-Lucchini wrote:
> Hallo,
>
>> I have updated my context after a very long time.
>> The first test run does not work because an initally dde attempt to
>> acroread.
>>
>> I got the following errormessage:
>>
>>      Microsoft Visual C++ Runtime Library
>>
>>      Runtime Error!
>>      Program: C:\Programme\Adobe\Reader 9.0\Reader\AcroRd32.exe
>>
>>      This application has requested the Runtime to terminate it in an
>> unusual  way.
>>      Please contact the application's support team for more
>> information.
>>
>> I have Acrobat Reader Version 9.4.6. This is working ok with pdf
>> files and this has worked ok with context prior to the update.
>
> I have the following questions:
>
> The executable pdfdde, resp. their incarnations pdfopen and pdfclose
> know an option --rx. Is this necessary to use acrobat reader 10?
>
> pdfdde --help outputs:
>
> Beware: only documents opened by `pdfopen' can be closed
> by `pdfclose'.
>
> But if I open my compiled file manually (not by pdfopen), --autopdf
> works ok. It closes the reader and opens him with the new compiled
> file and so on. So, an initally open with pdfopen does not work!
>
> How is pdfopen/close working? Can someone explain?
>
> pdfdde seems to be based on
> -------------------
> DDEOpen.c
>
> This file is furnished to you by Adobe Systems Incorporated
> under the terms of the Acrobat (r) Plug-ins Software
> Development Kit License Agreement.
>
> Copyright (C) 1995-1999, Adobe Systems Inc.  All Rights Reserved.
> -------------------
>
> Is there any difference (not related to Reader 10)?
>
>
> I do not understand at all what has happend. 10 Minutes before my
> context-update, all was working ok. There must be a little
> difference.

see l-pdfview.lua ... the clal on windows is: pdfopen --ax --file

anyhow, unfortunately the pdfopen/close programs are not consistent with 
respect to dealing with commandline options on different platforms (and 
also not downward compatible) which in fact renders them somewhat 
useless (it woudl be nice if someone would normalize them)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: AcroRd32 Runtime Error
       [not found] <mailman.3418.1317662126.4231.ntg-context@ntg.nl>
@ 2011-10-04 16:39 ` Wolfgang Werners-Lucchini
  2011-10-04 22:23   ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Werners-Lucchini @ 2011-10-04 16:39 UTC (permalink / raw)
  To: ntg-context

Hallo,

> I have updated my context after a very long time.
> The first test run does not work because an initally dde attempt to
> acroread.
> 
> I got the following errormessage:
> 
>     Microsoft Visual C++ Runtime Library
> 
>     Runtime Error!
>     Program: C:\Programme\Adobe\Reader 9.0\Reader\AcroRd32.exe
> 
>     This application has requested the Runtime to terminate it in an
> unusual  way.
>     Please contact the application's support team for more 
> information.
> 
> I have Acrobat Reader Version 9.4.6. This is working ok with pdf 
> files and this has worked ok with context prior to the update.

I have the following questions:

The executable pdfdde, resp. their incarnations pdfopen and pdfclose 
know an option --rx. Is this necessary to use acrobat reader 10?

pdfdde --help outputs:

Beware: only documents opened by `pdfopen' can be closed
by `pdfclose'.

But if I open my compiled file manually (not by pdfopen), --autopdf 
works ok. It closes the reader and opens him with the new compiled 
file and so on. So, an initally open with pdfopen does not work!

How is pdfopen/close working? Can someone explain?

pdfdde seems to be based on 
-------------------
DDEOpen.c

This file is furnished to you by Adobe Systems Incorporated
under the terms of the Acrobat (r) Plug-ins Software
Development Kit License Agreement.

Copyright (C) 1995-1999, Adobe Systems Inc.  All Rights Reserved.
-------------------

Is there any difference (not related to Reader 10)?


I do not understand at all what has happend. 10 Minutes before my 
context-update, all was working ok. There must be a little 
difference.

Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-10-05  7:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-03 17:14 AcroRd32 Runtime Error Wolfgang Werners-Lucchini
     [not found] <mailman.3418.1317662126.4231.ntg-context@ntg.nl>
2011-10-04 16:39 ` Wolfgang Werners-Lucchini
2011-10-04 22:23   ` Hans Hagen
     [not found] <mailman.3442.1317766999.4231.ntg-context@ntg.nl>
2011-10-04 23:42 ` Wolfgang Werners-Lucchini
2011-10-05  7:36   ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).