Click here to Skip to main content
15,930,958 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Static vs. Shared MFC in dll Pin
Navin31-Jul-02 9:53
Navin31-Jul-02 9:53 
GeneralRe: Static vs. Shared MFC in dll Pin
Ranjan Banerji31-Jul-02 10:45
Ranjan Banerji31-Jul-02 10:45 
GeneralAn editBox and variable CString Pin
ns31-Jul-02 9:23
ns31-Jul-02 9:23 
GeneralRe: An editBox and variable CString Pin
PJ Arends31-Jul-02 9:31
professionalPJ Arends31-Jul-02 9:31 
GeneralRe: An editBox and variable CString Pin
Ravi Bhavnani31-Jul-02 9:54
professionalRavi Bhavnani31-Jul-02 9:54 
GeneralRe: An editBox and variable CString Pin
lucy31-Jul-02 10:08
lucy31-Jul-02 10:08 
GeneralThank you all! Pin
nss31-Jul-02 13:19
nss31-Jul-02 13:19 
GeneralCOM interfaces and apps Pin
Aaron Schaefer31-Jul-02 8:56
Aaron Schaefer31-Jul-02 8:56 
Hi All,

I've got an existing app (MFC MDI app) that does some neat calculations. I have been running this app manually, but now I need to be able to "talk" to the app from another application. I'm thinking COM interface, but not sure exactly how this works. The other app needs to be able to control the MDI app, change data structures, stuff like that. I tried to make a new MFC project with "Automation" checked, and got another MFC app whose document sported a disp interface, but wasn't too sure what to do with that.

So, here's my question. Assuming I've imlpemented an MFC app with automation support, and added some methods I would like to call, how can I A) Fire off this app from an existing ATL COM object (In proc) B) Invoke methods on the document and C) prevent the user from interacting with the app.

Thanks in advance,

Aaron
QuestionHow to Rollup a Window Pin
Atlantys31-Jul-02 8:35
Atlantys31-Jul-02 8:35 
AnswerRe: How to Rollup a Window Pin
PJ Arends31-Jul-02 9:26
professionalPJ Arends31-Jul-02 9:26 
GeneralRe: How to Rollup a Window Pin
Atlantys31-Jul-02 10:29
Atlantys31-Jul-02 10:29 
GeneralRe: How to Rollup a Window Pin
PJ Arends31-Jul-02 12:25
professionalPJ Arends31-Jul-02 12:25 
GeneralRe: How to Rollup a Window Pin
Atlantys31-Jul-02 12:44
Atlantys31-Jul-02 12:44 
GeneralRe: How to Rollup a Window Pin
PJ Arends31-Jul-02 12:53
professionalPJ Arends31-Jul-02 12:53 
GeneralRe: How to Rollup a Window Pin
PJ Arends31-Jul-02 13:14
professionalPJ Arends31-Jul-02 13:14 
AnswerRe: How to Rollup a Window Pin
JohnnyG31-Jul-02 10:32
JohnnyG31-Jul-02 10:32 
GeneralRe: How to Rollup a Window Pin
JohnnyG31-Jul-02 10:57
JohnnyG31-Jul-02 10:57 
GeneralRe: How to Rollup a Window Pin
Atlantys31-Jul-02 11:00
Atlantys31-Jul-02 11:00 
GeneralRe: How to Rollup a Window Pin
JohnnyG31-Jul-02 12:26
JohnnyG31-Jul-02 12:26 
GeneralRe: How to Rollup a Window Pin
JohnnyG31-Jul-02 13:33
JohnnyG31-Jul-02 13:33 
GeneralRe: How to Rollup a Window Pin
Baatezu1-Aug-02 9:11
Baatezu1-Aug-02 9:11 
QuestionHow to Read & Write the File Title. Pin
Ganesh Agrawal31-Jul-02 8:07
Ganesh Agrawal31-Jul-02 8:07 
AnswerRe: How to Read & Write the File Title. Pin
Joaquín M López Muñoz31-Jul-02 8:19
Joaquín M López Muñoz31-Jul-02 8:19 
GeneralInterprocess communication Pin
s_k31-Jul-02 8:03
s_k31-Jul-02 8:03 
GeneralRe: Interprocess communication Pin
Joaquín M López Muñoz31-Jul-02 8:23
Joaquín M López Muñoz31-Jul-02 8:23 

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.