Click here to Skip to main content
16,006,531 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: display a image on button Pin
Amit Agarrwal29-Jun-06 2:11
Amit Agarrwal29-Jun-06 2:11 
GeneralRe: display a image on button Pin
ovidiucucu29-Jun-06 2:11
ovidiucucu29-Jun-06 2:11 
GeneralRe: display a image on button Pin
Amit Agarrwal29-Jun-06 3:02
Amit Agarrwal29-Jun-06 3:02 
GeneralRe: display a image on button Pin
Amit Agarrwal29-Jun-06 20:44
Amit Agarrwal29-Jun-06 20:44 
GeneralRe: display a image on button Pin
Amit Agarrwal29-Jun-06 21:11
Amit Agarrwal29-Jun-06 21:11 
AnswerRe: display a image on button Pin
David Crow29-Jun-06 2:57
David Crow29-Jun-06 2:57 
QuestionActiveX issue Pin
Nader Elshehabi28-Jun-06 23:41
Nader Elshehabi28-Jun-06 23:41 
AnswerRe: ActiveX issue Pin
bob1697229-Jun-06 1:59
bob1697229-Jun-06 1:59 
Writing an application that "consumes" PDF files would be much more difficult than creating an application that created PDF files. I'm finishing up a program that produces PDF files from GDI style calls and it took about 5 months. Most of the effort was defining the interface, and working out the drawing commands and researching/coding implementations for the various encoding/compression schemes, graphics support etc...

I was able to pick and choose what I used from the PDF 1.6 specification so the effort was feasible with a single programmer. However, writing an application that is prepared to deal with anything in that specification would be a daunting task for even the most dedicated programmer(s). You would be responsible to implement the algorithms for a variety of encoding, encryption, and compression schemes; support numerous color spaces, font embedding, coordinate spaces; and adapt to files that incorporated deprecated and obsolete functionality from the prior specifications (1.2-1.6). You will also need to become an expert in postscript parsing.

The effort to "consume" PDF just isn't worth it. "Producing" PDF is reasonable and satisfying. Give the PDF 1.6 specification a look and decide for yourself though...

PDF Reference, Fifth Edition[^]

Using the free downloadable Adobe Reader is the most efficient solution since it registers itself as an ActiveX component that can be hosted by any application with a few clicks of the mouse. If all you want is to be able to display any arbitrary PDF file in your application, this is the way to go.

Hope all my giberish helps somehow...
GeneralRe: ActiveX issue Pin
Nader Elshehabi29-Jun-06 3:24
Nader Elshehabi29-Jun-06 3:24 
GeneralRe: ActiveX issue Pin
bob1697229-Jun-06 4:32
bob1697229-Jun-06 4:32 
GeneralRe: ActiveX issue Pin
Nader Elshehabi29-Jun-06 5:13
Nader Elshehabi29-Jun-06 5:13 
Questiontwo calsses Pin
ashish dogra28-Jun-06 23:28
ashish dogra28-Jun-06 23:28 
AnswerRe: two calsses Pin
Cedric Moonen28-Jun-06 23:32
Cedric Moonen28-Jun-06 23:32 
GeneralRe: two calsses Pin
ashish dogra28-Jun-06 23:53
ashish dogra28-Jun-06 23:53 
GeneralRe: two calsses Pin
Cedric Moonen28-Jun-06 23:56
Cedric Moonen28-Jun-06 23:56 
GeneralRe: two calsses Pin
ashish dogra29-Jun-06 0:03
ashish dogra29-Jun-06 0:03 
GeneralRe: two calsses Pin
Cedric Moonen29-Jun-06 0:07
Cedric Moonen29-Jun-06 0:07 
AnswerRe: two calsses Pin
David Crow29-Jun-06 3:04
David Crow29-Jun-06 3:04 
QuestionWindows Hooks [modified] Pin
capricious_00128-Jun-06 22:53
capricious_00128-Jun-06 22:53 
AnswerRe: Windows Hooks Pin
Naveen28-Jun-06 23:34
Naveen28-Jun-06 23:34 
GeneralRe: Windows Hooks Pin
capricious_00129-Jun-06 0:16
capricious_00129-Jun-06 0:16 
GeneralRe: Windows Hooks Pin
Naveen29-Jun-06 1:10
Naveen29-Jun-06 1:10 
Questionsend pictures as attachments in e-mail Pin
sdhtyjnniutnbjnhbghb28-Jun-06 22:33
sdhtyjnniutnbjnhbghb28-Jun-06 22:33 
QuestionRe: send pictures as attachments in e-mail Pin
David Crow29-Jun-06 3:05
David Crow29-Jun-06 3:05 
Questionconvert dialog based into sdi Pin
ashish dogra28-Jun-06 22:27
ashish dogra28-Jun-06 22:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.