1. PDF display
- Posted by GeorgeWalters Aug 13, 2008
- 1351 views
I"m looking for a PDF display written in EU. Can't find anything in the archives. Anyone know of a routine to do this. this is all I could find, but I don't know what it does.
http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=adobe
thanks for any help
2. Re: PDF display
- Posted by murphy Aug 13, 2008
- 1390 views
I"m looking for a PDF display written in EU. Can't find anything in the archives. Anyone know of a routine to do this. this is all I could find, but I don't know what it does.
http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=adobe
thanks for any help
I don't think there is one. If you want open source, try Foxit or Sumatra.
3. Re: PDF display
- Posted by ghaberek (admin) Aug 13, 2008
- 1364 views
You can use the Adobe Reader plug-in to display a PDF in your application! I wrote a simple wrapper with EuCOM and uploaded it to The Archive.
Here's the temporary link: http://www.rapideuphoria.com/uploads/acroview.zip
-Greg
4. Re: PDF display
- Posted by GeorgeWalters Aug 15, 2008
- 1359 views
You can use the Adobe Reader plug-in to display a PDF in your application! I wrote a simple wrapper with EuCOM and uploaded it to The Archive.
Here's the temporary link: http://www.rapideuphoria.com/uploads/acroview.zip
-Greg
Wonderful! Thanks Greg. I'll give it a try.
5. Re: PDF display
- Posted by lockiedownunder Jul 09, 2009
- 1237 views
I need to add a pdf viewer to my program, but can't get this to run.
I have downloaded eucom but cant get it to run. seems to conflict with win32lib or something. Anyone have this working? or have any other suggestions.
6. Re: PDF display
- Posted by mattlewis (admin) Jul 09, 2009
- 1216 views
I need to add a pdf viewer to my program, but can't get this to run.
I have downloaded eucom but cant get it to run. seems to conflict with win32lib or something. Anyone have this working? or have any other suggestions.
What version of EuCom and win32lib are you using?
Matt
8. Re: PDF display
- Posted by ghaberek (admin) Jul 09, 2009
- 1208 views
Are you getting any error messages? If so, could you post them?
Do you have Adobe Reader installed? My wrapper does not provide the required dll.
-Greg
9. Re: PDF display
- Posted by lockiedownunder Jul 10, 2009
- 1175 views
Yes I do have adobe acrobat reader installed on my system.
The problem so far is with EUCOM and namespace issues.
If I run the demo from EUCOM - I get the following error
D:\EUPHORIA\Include\w32memory.ew:541 A namespace qualifier is needed to resolve w32removeIndex. w32removeIndex is defined as a global symbol in: D:\EUPHORIA\win32\Include\w32utils.e D:\EUPHORIA\Include\w32utils.e vSets[i] = w32removeIndex(lAddrSub, vSets[i]) ^
10. Re: PDF display
- Posted by ghaberek (admin) Jul 10, 2009
- 1188 views
You don't need two copies of the w32support.e. Just delete (or rename) the one in your Include directory and it should pick up the one in your win32\Include directory instead.
-Greg
11. Re: PDF display
- Posted by lockiedownunder Jul 10, 2009
- 1138 views
- Last edited Jul 11, 2009
Sometimes i'm so dumb.
Ok now if I try to run acroview I get the following error
D:\EUPHORIA\win32\Include\Win32Lib.ew:24306 in function MessageProcessor() A machine-level exception occurred during execution of this statement pSource = -2761 hWnd = 7276194 iMsg = 5 wParam = 0 lParam = 27656816 id = 3 lHandledEvent = 15 lTemp = 1 result = 0 lUserReturn = <no value> ... called from D:\EUPHORIA\win32\Include\Win32Lib.ew:24343 in function WndProc() hWnd = 7276194 iMsg = 5 wParam = 0 lParam = 27656816 ^^^ call-back from Windows
12. Re: PDF display
- Posted by bernie Jul 11, 2009
- 1143 views
Sometimes i'm so dumb.
Ok now if I try to run acroview I get the following error
D:\EUPHORIA\win32\Include\Win32Lib.ew:24306 in function MessageProcessor() A machine-level exception occurred during execution of this statement pSource = -2761 hWnd = 7276194 iMsg = 5 wParam = 0 lParam = 27656816 id = 3 lHandledEvent = 15 lTemp = 1 result = 0 lUserReturn = <no value> ... called from D:\EUPHORIA\win32\Include\Win32Lib.ew:24343 in function WndProc() hWnd = 7276194 iMsg = 5 wParam = 0 lParam = 27656816 ^^^ call-back from Windows
If pSource is suppose to be a pointer it will cause
machine level exception because it can NOT be a negative value.
The above show it to be pSource = -2761
13. Re: PDF display
- Posted by lockiedownunder Jul 11, 2009
- 1229 views
Anyone able to get acroview to work????????
Please
14. Re: PDF display
- Posted by ghaberek (admin) Jul 13, 2009
- 1151 views
Which version of Win32Lib are you using?
-Greg
15. Re: PDF display
- Posted by ghaberek (admin) Jul 13, 2009
- 1139 views
Ok now if I try to run acroview I get the following error
D:\EUPHORIA\win32\Include\Win32Lib.ew:24306 in function MessageProcessor() A machine-level exception occurred during execution of this statement pSource = -2761 hWnd = 7276194 iMsg = 5 wParam = 0 lParam = 27656816 id = 3 lHandledEvent = 15 lTemp = 1 result = 0 lUserReturn = <no value> ... called from D:\EUPHORIA\win32\Include\Win32Lib.ew:24343 in function WndProc() hWnd = 7276194 iMsg = 5 wParam = 0 lParam = 27656816 ^^^ call-back from Windows
Looking into this a little further, pSource = -2761 is kMainMsg, so that's perfectly legit. iMsg = 5 which is WM_SIZE, so this is probably occuring during the initial w32HResize event after the w32HOpen event.
In my Win32Lib, line 24306 is just "else" so I'm not what's causing the machine error there. Which is why I'm curious if you've got a different version of Win32Lib.
24304 if length(result) > 1 then 24305 result = result[2] 24306 else 24307 result = 0 24308 end if
AcroView seems to run fine for me. I'm using Win32Lib 0.70.4a 17-June-2008. I've got Adobe Acrobat 8 Standard, but I've also tested this on a computer with Adobe Reader 8. I will try to test with Adobe Reader 9, which I believe is the latest version.
-Greg
16. Re: PDF display
- Posted by lockiedownunder Jul 14, 2009
- 1144 views
as stated above
WIN32LIB 0.70.4A
EUCOM V2.08
I do have adobe reader V9
17. Re: PDF display
- Posted by ghaberek (admin) Jul 14, 2009
- 1090 views
I have not been able to reproduce a crash when launching AcroView, even with Adobe Reader 9 installed. One thing I did notice while investigating this, is that the AcroPDF COM object seems to be a tad... buggy. Sometimes getOpenFileName() causes a machine-level error, which I've never seen with any other program. Maybe EuCOM is leaking memory somewhere, at least I assume that could be the cause the problems.
-Greg
18. Re: PDF display
- Posted by lockiedownunder Jul 14, 2009
- 1112 views
Ok thanks anyway, think I will give it a miss and just shell out to the reader.