• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1043
  • Last Modified:


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.
  • 2
1 Solution
Convert your parameters to VARIANTARG and call IDispatch::Invoke

See: http://msdn2.microsoft.com/en-US/library/ms221479.aspx
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.
shaun_hesterAuthor Commented:
Sorry for the the late reply, i have been busy with another project
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now