Click here to Skip to main content
15,896,118 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
Hi,
To start COM application, you have to know some thing about COM and Interfaces.
In VC++, we can do it two ways 1. Using MFC and 2) Using ATL libraries.
ATL is simple and wizard faced. All interfaces creation and registration take care by ATL wizards.
But in case if MFC, you have to inherit a class from CCmdTarget and create a interface also from IUnknown and IDispatch based upon your need.
If you are going to work with on languages like VC++, VB etc then IUnkonwn is enough. But if your COM should support with script languages like VB script, Jscript then You shound use IDispatch.
To create simple MFC COM, please go through the below MSDN link..

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncomg/html/msdn_house2.asp

best of luck

regards
Vallikumar A
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 
QuestionFile Sharing question Pin
Shay Harel16-Jan-06 10:08
Shay Harel16-Jan-06 10:08 
AnswerRe: File Sharing question Pin
David Crow16-Jan-06 10:20
David Crow16-Jan-06 10:20 
GeneralRe: File Sharing question Pin
Shay Harel16-Jan-06 10:28
Shay Harel16-Jan-06 10:28 

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.