Click here to Skip to main content
15,911,646 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to read the data from PDF file Pin
S_a_n16-Jan-06 16:54
S_a_n16-Jan-06 16:54 
GeneralRe: How to read the data from PDF file Pin
Christian Graus16-Jan-06 16:56
protectorChristian Graus16-Jan-06 16:56 
GeneralRe: How to read the data from PDF file Pin
Anders Gustafsson16-Jan-06 20:32
Anders Gustafsson16-Jan-06 20:32 
GeneralRe: How to read the data from PDF file Pin
basementman17-Jan-06 3:56
basementman17-Jan-06 3:56 
QuestionHow to inerface with COM Objects? Pin
Divyang Mithaiwala16-Jan-06 16:33
Divyang Mithaiwala16-Jan-06 16:33 
AnswerRe: How to inerface with COM Objects? Pin
Christian Graus16-Jan-06 16:45
protectorChristian Graus16-Jan-06 16:45 
GeneralRe: How to inerface with COM Objects? Pin
Divyang Mithaiwala16-Jan-06 16:52
Divyang Mithaiwala16-Jan-06 16:52 
AnswerRe: How to inerface with COM Objects? Pin
Stephen Hewitt16-Jan-06 16:51
Stephen Hewitt16-Jan-06 16:51 
There are various libraries that provide classes (and such) to make dealing with COM easier like ATL and the compiler provided COM support classes. Given that you haven't provided much info on this I'll point to at some APIs/interfaces:
CoInitialize - To initialize COM on the current thread.
CoCreateInstance - Create a registered COM object given a CLSID.
IUnknown::QueryInterface - Get an interface on a COM object given its IID.
IDispatch - For dispatch interfaces.

If you're not driving IDispatch interface you will need to have a header file so you can call the methods on the interfaces. There are many ways to do this:
- Use one that comes with the component or SDK
- Use #import
- If you've got an IDL file, use MIDL to make one.
- Use a tool like OleView to make one.


Steve
GeneralRe: How to inerface with COM Objects? Pin
Divyang Mithaiwala16-Jan-06 17:03
Divyang Mithaiwala16-Jan-06 17:03 
GeneralRe: How to inerface with COM Objects? Pin
Stephen Hewitt16-Jan-06 17:15
Stephen Hewitt16-Jan-06 17:15 
AnswerRe: How to inerface with COM Objects? Pin
vallikumar16-Jan-06 18:36
vallikumar16-Jan-06 18:36 
QuestionHow to show part of a sketch in a dialog Pin
sandyzf16-Jan-06 16:22
sandyzf16-Jan-06 16:22 
GeneralRe: How to show part of a sketch in a dialog Pin
sandyzf16-Jan-06 16:28
sandyzf16-Jan-06 16:28 
AnswerRe: How to show part of a sketch in a dialog Pin
Christian Graus16-Jan-06 17:18
protectorChristian Graus16-Jan-06 17:18 
QuestionClass to Class data transfer Pin
dipuks16-Jan-06 12:31
dipuks16-Jan-06 12:31 
AnswerRe: Class to Class data transfer Pin
Mark Greenwood16-Jan-06 13:04
Mark Greenwood16-Jan-06 13:04 
AnswerRe: Class to Class data transfer Pin
vallikumar16-Jan-06 23:13
vallikumar16-Jan-06 23:13 
QuestionHow do I print a html file from Visual C++ Pin
Oliverco16-Jan-06 12:12
Oliverco16-Jan-06 12:12 
AnswerRe: How do I print a html file from Visual C++ Pin
Stephen Hewitt16-Jan-06 12:19
Stephen Hewitt16-Jan-06 12:19 
QuestionRe: How do I print a html file from Visual C++ Pin
David Crow16-Jan-06 15:39
David Crow16-Jan-06 15:39 
AnswerRe: How do I print a html file from Visual C++ Pin
Stephen Hewitt16-Jan-06 15:53
Stephen Hewitt16-Jan-06 15:53 
AnswerRe: How do I print a html file from Visual C++ Pin
Eytukan16-Jan-06 23:41
Eytukan16-Jan-06 23:41 
QuestionProject Help Please Pin
Door Mat16-Jan-06 10:40
Door Mat16-Jan-06 10:40 
AnswerRe: Project Help Please Pin
Phil J Pearson17-Jan-06 2:51
Phil J Pearson17-Jan-06 2:51 
GeneralRe: Project Help Please Pin
Door Mat18-Jan-06 8:17
Door Mat18-Jan-06 8:17 

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.