1. PDF display

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

new topic     » topic index » view message » categorize

2. Re: PDF display

GeorgeWalters said...

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.

new topic     » goto parent     » topic index » view message » categorize

3. Re: PDF display

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

new topic     » goto parent     » topic index » view message » categorize

4. Re: PDF display

ghaberek said...

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.

new topic     » goto parent     » topic index » view message » categorize

5. Re: PDF display

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.

new topic     » goto parent     » topic index » view message » categorize

6. Re: PDF display

lockiedownunder said...

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

new topic     » goto parent     » topic index » view message » categorize

7. Re: PDF display

WIN32LIB 0.70.4A EUCOM V2.08

new topic     » goto parent     » topic index » view message » categorize

8. Re: PDF display

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

new topic     » goto parent     » topic index » view message » categorize

9. Re: PDF display

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]) 
                                    ^ 

new topic     » goto parent     » topic index » view message » categorize

10. Re: PDF display

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

new topic     » goto parent     » topic index » view message » categorize

11. Re: PDF display

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 
 

new topic     » goto parent     » topic index » view message » categorize

12. Re: PDF display

lockiedownunder said...

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

new topic     » goto parent     » topic index » view message » categorize

13. Re: PDF display

Anyone able to get acroview to work????????

Please

new topic     » goto parent     » topic index » view message » categorize

14. Re: PDF display

Which version of Win32Lib are you using?

-Greg

new topic     » goto parent     » topic index » view message » categorize

15. Re: PDF display

lockiedownunder said...

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

new topic     » goto parent     » topic index » view message » categorize

16. Re: PDF display

as stated above

WIN32LIB 0.70.4A

EUCOM V2.08

I do have adobe reader V9

new topic     » goto parent     » topic index » view message » categorize

17. Re: PDF display

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

-Greg

new topic     » goto parent     » topic index » view message » categorize

18. Re: PDF display

Ok thanks anyway, think I will give it a miss and just shell out to the reader.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu