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 6 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 Offline
    V Offline
    vinaymarje
    wrote on last edited by
    #1

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

    L S R C E 9 Replies Last reply
    0
    • V vinaymarje

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

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Nope. Sorry. Can't be done.[^]

      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?

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

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

        V G G 3 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.'

          V Offline
          V Offline
          vinaymarje
          wrote on last edited by
          #4

          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 S M 3 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
            #5

            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.

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

              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 T R CPalliniC M 6 Replies 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
                  • 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
                    #9

                    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 )

                      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
                      • 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
                        #11

                        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 )

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