?
Solved

InvokeHelper

Posted on 2006-05-31
4
Medium Priority
?
1,020 Views
Last Modified: 2013-11-25
i have been given an application that is written in MFC that i am trying to convert to a non MFC Win 32 application.

I have had little expeirence with MFC and throught the application there is an fucnction InvokeHelper which i am trying to find a counter part for in the NON MFC version if one exists.
0
Comment
Question by:shaun_hester
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
e_tadeu earned 500 total points
ID: 16798482
Convert your parameters to VARIANTARG and call IDispatch::Invoke

See: http://msdn2.microsoft.com/en-US/library/ms221479.aspx
0
 
LVL 4

Expert Comment

by:e_tadeu
ID: 16798510
Note: Although IDispatch is out of MFC, it is still a Windows API function for OLE Automation protocol in COM. If you want to convert your project to a non-MFC-non-Win32 you would need to convert all your interfaces to something not COM, e.g: CORBA.
0
 

Author Comment

by:shaun_hester
ID: 17065720
Sorry for the the late reply, i have been busy with another project
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question