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 -----------------------------------------------------------------