Click here to Skip to main content
15,922,533 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to compile this project Pin
staticv26-Jul-08 7:19
staticv26-Jul-08 7:19 
QuestionWM_CTLCOLOR..... mess VS WM_PAINT Pin
ForNow25-Jul-08 6:46
ForNow25-Jul-08 6:46 
AnswerRe: WM_CTLCOLOR..... mess VS WM_PAINT Pin
Mark Salsbery25-Jul-08 7:06
Mark Salsbery25-Jul-08 7:06 
GeneralRe: WM_CTLCOLOR..... mess VS WM_PAINT Pin
Paul Sanders (the other one)25-Jul-08 7:55
Paul Sanders (the other one)25-Jul-08 7:55 
GeneralRe: WM_CTLCOLOR..... mess VS WM_PAINT Pin
ForNow25-Jul-08 12:09
ForNow25-Jul-08 12:09 
GeneralRe: WM_CTLCOLOR..... mess VS WM_PAINT Pin
Mark Salsbery25-Jul-08 12:19
Mark Salsbery25-Jul-08 12:19 
GeneralRe: WM_CTLCOLOR..... mess VS WM_PAINT Pin
ForNow26-Jul-08 15:33
ForNow26-Jul-08 15:33 
QuestionMultiline tab control CTabCtrl ? Pin
bosfan25-Jul-08 6:11
bosfan25-Jul-08 6:11 
AnswerRe: Multiline tab control CTabCtrl ? Pin
Ștefan-Mihai MOGA25-Jul-08 18:52
professionalȘtefan-Mihai MOGA25-Jul-08 18:52 
QuestionTimers and timing Pin
john john mackey25-Jul-08 5:51
john john mackey25-Jul-08 5:51 
AnswerRe: Timers and timing Pin
Matthew Faithfull25-Jul-08 6:04
Matthew Faithfull25-Jul-08 6:04 
Questionfile details Pin
vineeshV25-Jul-08 1:13
vineeshV25-Jul-08 1:13 
AnswerRe: file details [modified] Pin
dehseth25-Jul-08 1:30
dehseth25-Jul-08 1:30 
QuestionMenu Control Popup using TrackPopupMenuEx Pin
dehseth25-Jul-08 0:43
dehseth25-Jul-08 0:43 
AnswerRe: Menu Control Popup using TrackPopupMenuEx Pin
Prasann Mayekar25-Jul-08 3:02
Prasann Mayekar25-Jul-08 3:02 
GeneralRe: Menu Control Popup using TrackPopupMenuEx Pin
dehseth25-Jul-08 4:03
dehseth25-Jul-08 4:03 
GeneralRe: Menu Control Popup using TrackPopupMenuEx Pin
Mark Salsbery25-Jul-08 6:13
Mark Salsbery25-Jul-08 6:13 
GeneralRe: Menu Control Popup using TrackPopupMenuEx Pin
dehseth27-Jul-08 19:21
dehseth27-Jul-08 19:21 
GeneralRe: Menu Control Popup using TrackPopupMenuEx Pin
Mark Salsbery28-Jul-08 6:55
Mark Salsbery28-Jul-08 6:55 
QuestionIncluding methods in a DLL Pin
softwaremonkey24-Jul-08 23:03
softwaremonkey24-Jul-08 23:03 
AnswerRe: Including methods in a DLL Pin
Yajnesh Narayan Behera24-Jul-08 23:24
Yajnesh Narayan Behera24-Jul-08 23:24 
GeneralRe: Including methods in a DLL Pin
Matthew Faithfull24-Jul-08 23:27
Matthew Faithfull24-Jul-08 23:27 
GeneralRe: Including methods in a DLL Pin
softwaremonkey25-Jul-08 0:16
softwaremonkey25-Jul-08 0:16 
AnswerRe: Including methods in a DLL Pin
Yajnesh Narayan Behera24-Jul-08 23:55
Yajnesh Narayan Behera24-Jul-08 23:55 
What you are trying to achieve is can easily be done in this way. My project is running fine.

Basically in your interface class you have to derive the classes in this manner.

class MyPPTApplication : public TOleHelper
{
// Operations
public:
LPDISPATCH GetPresentations();

}
This is just a hint how in my project I have achieved this for PPT.
In this way you have to get all the methods for Word, call the method in proper order & you will get the required result. GetPresentations does nothing it internally call this method

LPDISPATCH result = 0;
InvokeHelper(0x7d1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);

I do not know what is the use of you Dll, if it is to show the Word application then you have to create your own container object that is a whole big area in it's respect. WTF | :WTF:
GeneralRe: Including methods in a DLL Pin
softwaremonkey25-Jul-08 0:29
softwaremonkey25-Jul-08 0:29 

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.