Click here to Skip to main content
15,903,523 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: LoadLibrary Error Pin
Stephane Rodriguez.14-Aug-02 10:17
Stephane Rodriguez.14-Aug-02 10:17 
GeneralGet COM interface from other process Pin
Aaron Schaefer14-Aug-02 9:54
Aaron Schaefer14-Aug-02 9:54 
GeneralRe: (option1) Get COM interface from other process Pin
Stephane Rodriguez.14-Aug-02 10:07
Stephane Rodriguez.14-Aug-02 10:07 
GeneralRe: (option2) Get COM interface from other process Pin
Stephane Rodriguez.14-Aug-02 10:11
Stephane Rodriguez.14-Aug-02 10:11 
GeneralRe: (option2) Get COM interface from other process Pin
Aaron Schaefer14-Aug-02 10:22
Aaron Schaefer14-Aug-02 10:22 
GeneralRe: (option2) Get COM interface from other process Pin
Bill Wilson14-Aug-02 10:45
Bill Wilson14-Aug-02 10:45 
GeneralRe: (option2) Get COM interface from other process Pin
Aaron Schaefer14-Aug-02 10:48
Aaron Schaefer14-Aug-02 10:48 
GeneralRe: (option2) Get COM interface from other process Pin
Bill Wilson14-Aug-02 13:25
Bill Wilson14-Aug-02 13:25 
Using the app wizard:

Create a new MFC exe project.

On the 3rd page select the Automation checkbox.

Complete the wizard.

Use the class wizard, automation tab to add a new COM interface to the project. You can base the new class on COleServerDoc or COleServerItem. From there it gets a little complicated.

1. My recommendation is to build the .exe as an ATL app.
2. d MFC support to the project.
3. Add a COM interface using the Insert New object menu item.
4. Port your existing code into the new object.

If you are clever enough, you can skip step 3 and simply add your existing COM object classes to the ATL project.
GeneralUse the ROT for debugging Pin
Vi214-Aug-02 20:34
Vi214-Aug-02 20:34 
GeneralRe: Use the ROT for debugging Pin
Aaron Schaefer15-Aug-02 3:09
Aaron Schaefer15-Aug-02 3:09 
GeneralRe: Use the ROT for debugging Pin
Vi215-Aug-02 3:31
Vi215-Aug-02 3:31 
GeneralRe: Get COM interface from other process Pin
Michael Dunn14-Aug-02 15:00
sitebuilderMichael Dunn14-Aug-02 15:00 
GeneralRe: Get COM interface from other process Pin
Aaron Schaefer15-Aug-02 3:05
Aaron Schaefer15-Aug-02 3:05 
GeneralRe: Get COM interface from other process Pin
Stuart Dootson14-Aug-02 20:49
professionalStuart Dootson14-Aug-02 20:49 
QuestionCalling methods in child classes from base class? Pin
clintsinger14-Aug-02 9:30
clintsinger14-Aug-02 9:30 
AnswerRe: Calling methods in child classes from base class? Pin
Chris Losinger14-Aug-02 9:36
professionalChris Losinger14-Aug-02 9:36 
GeneralRe: Calling methods in child classes from base class? Pin
clintsinger14-Aug-02 10:08
clintsinger14-Aug-02 10:08 
AnswerRe: Calling methods in child classes from base class? Pin
moredip14-Aug-02 9:48
moredip14-Aug-02 9:48 
GeneralRe: Calling methods in child classes from base class? Pin
clintsinger14-Aug-02 10:09
clintsinger14-Aug-02 10:09 
GeneralStupid Question Pin
John Pepper14-Aug-02 8:47
John Pepper14-Aug-02 8:47 
GeneralRe: Stupid Question Pin
Ranjan Banerji14-Aug-02 8:57
Ranjan Banerji14-Aug-02 8:57 
GeneralRe: Stupid Question Pin
Chris Losinger14-Aug-02 9:00
professionalChris Losinger14-Aug-02 9:00 
GeneralRe: Stupid Question Pin
Anonymous14-Aug-02 9:36
Anonymous14-Aug-02 9:36 
GeneralRe: Stupid Question Pin
Christian Graus14-Aug-02 12:53
protectorChristian Graus14-Aug-02 12:53 
GeneralPhilsophical Question Pin
Chris Losinger14-Aug-02 13:27
professionalChris Losinger14-Aug-02 13: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.