Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. How to read PDF documents

How to read PDF documents

Scheduled Pinned Locked Moved The Lounge
c++tutorialquestion
37 Posts 20 Posters 7 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V vinaymarje

    Thanks. I should have realized this after I couldn't find any article on CP. CP is the best programming resource I have used.

    C Offline
    C Offline
    Christian Graus
    wrote on last edited by
    #5

    I want to cry.

    Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

    R J T CPalliniC M 6 Replies Last reply
    0
    • S Shog9 0

      As Mike said, it's completely impossible. Adobe wrote Acrobat in VB, and designed the format such that it cannot be read from any other language.

      Citizen 20.1.01

      'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'

      G Offline
      G Offline
      Gene OK
      wrote on last edited by
      #6

      VB? I thought it was written in Perl! Dang it. Out of touch with reality again... :((

      CodeWiz51 -- Life is not a spectator sport. I came to play. Code's Musings | Code's Articles

      J 1 Reply Last reply
      0
      • V vinaymarje

        Thanks. I should have realized this after I couldn't find any article on CP. CP is the best programming resource I have used.

        S Offline
        S Offline
        Shog9 0
        wrote on last edited by
        #7

        You, uh, did see the joke icons, right? :~

        Citizen 20.1.01

        'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'

        1 Reply Last reply
        0
        • V vinaymarje

          I would like to write a win32 application in C++ to read a PDF document. Is this possible?

          R Offline
          R Offline
          Ray Kinsella
          wrote on last edited by
          #8

          Only with the use of psychedelic drugs ... or assistance from Dr. Gonzo[^]

          Regards Ray "Je Suis Mort De Rire" Blogging @ Keratoconus Watch If its fast and ugly, they will use it and curse you; if its slow they will not use it -- David Cheriton

          1 Reply Last reply
          0
          • V vinaymarje

            I would like to write a win32 application in C++ to read a PDF document. Is this possible?

            C Offline
            C Offline
            Christian Graus
            wrote on last edited by
            #9

            Assuming for a moment that you are not joking... Everyone else on this thread, is, because a - it's plain that Acrobat is written in C++, or perhaps C b - it's plain that you ignored the request not to post programming questions in the lounge, and c - it's plain that if you're not kidding, you probably need to do some more learning/reading before you worry about writing Win32 apps that are able to deal with the PDF file format.

            Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

            J 1 Reply Last reply
            0
            • C Christian Graus

              I want to cry.

              Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

              T Offline
              T Offline
              toxcct
              wrote on last edited by
              #10

              i borrow you my handkerchief, Christian. really, I compassionate

              [VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]

              1 Reply Last reply
              0
              • C Christian Graus

                I want to cry.

                Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

                J Offline
                J Offline
                Jim Crafton
                wrote on last edited by
                #11

                Just walk away. Shake your head and walk away soldier.

                ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog

                1 Reply Last reply
                0
                • C Christian Graus

                  I want to cry.

                  Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

                  R Offline
                  R Offline
                  Ray Kinsella
                  wrote on last edited by
                  #12

                  I was already reaching for a beer.

                  Regards Ray "Je Suis Mort De Rire" Blogging @ Keratoconus Watch If its fast and ugly, they will use it and curse you; if its slow they will not use it -- David Cheriton

                  1 Reply Last reply
                  0
                  • G Gene OK

                    VB? I thought it was written in Perl! Dang it. Out of touch with reality again... :((

                    CodeWiz51 -- Life is not a spectator sport. I came to play. Code's Musings | Code's Articles

                    J Offline
                    J Offline
                    Jim Crafton
                    wrote on last edited by
                    #13

                    Nah, Perl is used to for Photoshop and Illustrator.

                    ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog

                    1 Reply Last reply
                    0
                    • C Christian Graus

                      Assuming for a moment that you are not joking... Everyone else on this thread, is, because a - it's plain that Acrobat is written in C++, or perhaps C b - it's plain that you ignored the request not to post programming questions in the lounge, and c - it's plain that if you're not kidding, you probably need to do some more learning/reading before you worry about writing Win32 apps that are able to deal with the PDF file format.

                      Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

                      J Offline
                      J Offline
                      Jim Crafton
                      wrote on last edited by
                      #14

                      Actually you left off d) and e), but it's plain that they wouldn't be printable in the Lounge, so maybe it's better that way... :)

                      ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog

                      E 1 Reply Last reply
                      0
                      • C Christian Graus

                        I want to cry.

                        Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

                        CPalliniC Offline
                        CPalliniC Offline
                        CPallini
                        wrote on last edited by
                        #15

                        Laughing maybe an alternative. :-D

                        If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                        This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke

                        In testa che avete, signor di Ceprano?

                        1 Reply Last reply
                        0
                        • V vinaymarje

                          I would like to write a win32 application in C++ to read a PDF document. Is this possible?

                          E Offline
                          E Offline
                          El Corazon
                          wrote on last edited by
                          #16

                          vinaymarje wrote:

                          Is this possible?

                          yes.

                          _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb) John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

                          1 Reply Last reply
                          0
                          • J Jim Crafton

                            Actually you left off d) and e), but it's plain that they wouldn't be printable in the Lounge, so maybe it's better that way... :)

                            ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog

                            E Offline
                            E Offline
                            El Corazon
                            wrote on last edited by
                            #17

                            d) my kid sister, if I had one, would be bored by the true answer, therefore it cannot be printed in the lounge. Kid sisters rarely go to the C++ forum, making the C++ forum a good place to ask boring C++ questions.... e) If any of us answer a C++ question in the lounge, Trollslayer would test out a double bladed axe on us.... If she weren't so nice about it, I would think that would qualify her as an honorary kid-sister from my family. ;)

                            _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb) John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

                            L 1 Reply Last reply
                            0
                            • C Christian Graus

                              I want to cry.

                              Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

                              M Offline
                              M Offline
                              MidwestLimey
                              wrote on last edited by
                              #18

                              Look on the bright side, a pdf reader is unlikely to be related to a nuclear power plant control system ... it could be sooo much worse!


                              I'm largely language agnostic


                              After a while they all bug me :doh:


                              E M 2 Replies Last reply
                              0
                              • M MidwestLimey

                                Look on the bright side, a pdf reader is unlikely to be related to a nuclear power plant control system ... it could be sooo much worse!


                                I'm largely language agnostic


                                After a while they all bug me :doh:


                                E Offline
                                E Offline
                                El Corazon
                                wrote on last edited by
                                #19

                                MidwestLimey wrote:

                                it could be sooo much worse!

                                in my business that brings up some nightmare thoughts....

                                _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb) John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

                                1 Reply Last reply
                                0
                                • S Shog9 0

                                  As Mike said, it's completely impossible. Adobe wrote Acrobat in VB, and designed the format such that it cannot be read from any other language.

                                  Citizen 20.1.01

                                  'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'

                                  G Offline
                                  G Offline
                                  Giorgi Dalakishvili
                                  wrote on last edited by
                                  #20

                                  How do I design my own format so that it can't be read from any other language? :confused:

                                  Giorgi Dalakishvili #region signature my articles #endregion

                                  1 Reply Last reply
                                  0
                                  • V vinaymarje

                                    I would like to write a win32 application in C++ to read a PDF document. Is this possible?

                                    J Offline
                                    J Offline
                                    Joan M
                                    wrote on last edited by
                                    #21

                                    vinaymarje wrote:

                                    I would like to write a win32 application in C++ to read a PDF document.

                                    OK

                                    vinaymarje wrote:

                                    Is this possible?

                                    Yes, if you say so, it is possible that you want to write an app that will read PDF files... :rolleyes:

                                    [www.tamelectromecanica.com][www.tam.cat]

                                    https://www.robotecnik.com freelance robots, PLC and CNC programmer.

                                    1 Reply Last reply
                                    0
                                    • V vinaymarje

                                      Thanks. I should have realized this after I couldn't find any article on CP. CP is the best programming resource I have used.

                                      M Offline
                                      M Offline
                                      Michael Schubert
                                      wrote on last edited by
                                      #22

                                      Don't listen to these guys, they are all making fun of you. Acrobat Reader is actually written with Microsoft Macro Assembler, that's why it's so fast and has such a small footprint, especially the latest version (8). So, to ensure maximum compatibilty, get yourself a copy of MASM 6.15 (it's free!!) and start programming!

                                      1 Reply Last reply
                                      0
                                      • V vinaymarje

                                        I would like to write a win32 application in C++ to read a PDF document. Is this possible?

                                        C Offline
                                        C Offline
                                        Chris Losinger
                                        wrote on last edited by
                                        #23

                                        a) is reading a document a Turing-complete task? b) is C++ a Turing-complete language? yes & yes = yes

                                        image processing toolkits | batch image processing

                                        CPalliniC 1 Reply Last reply
                                        0
                                        • C Christian Graus

                                          I want to cry.

                                          Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

                                          V Offline
                                          V Offline
                                          Vikram A Punathambekar
                                          wrote on last edited by
                                          #24

                                          *hands tissues*

                                          Cheers, Vikram.


                                          The hands that help are holier than the lips that pray.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups