Click here to Skip to main content
15,906,708 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDistribution in .NET 8 Pin
Dave Kerr23-Jun-07 13:41
mentorDave Kerr23-Jun-07 13:41 
AnswerRe: Distribution in .NET 8 Pin
Christian Graus23-Jun-07 14:00
protectorChristian Graus23-Jun-07 14:00 
GeneralRe: Distribution in .NET 8 Pin
Dave Kerr24-Jun-07 0:00
mentorDave Kerr24-Jun-07 0:00 
GeneralRe: Distribution in .NET 8 Pin
Mark Salsbery24-Jun-07 6:18
Mark Salsbery24-Jun-07 6:18 
Questionhow to dynamically access to a function or to its name? Pin
Arris7423-Jun-07 10:05
Arris7423-Jun-07 10:05 
AnswerRe: how to dynamically access to a function or to its name? Pin
dabs23-Jun-07 10:37
dabs23-Jun-07 10:37 
GeneralRe: how to dynamically access to a function or to its name? Pin
Arris7423-Jun-07 10:51
Arris7423-Jun-07 10:51 
GeneralRe: how to dynamically access to a function or to its name? Pin
dabs23-Jun-07 15:38
dabs23-Jun-07 15:38 
Arris7 wrote:
Does Invoke mean that I will be able to call the function on runtime by typing in its name and parameters from an edit control?


Yes, if you already have a IDispatch pointer to an object which implements the functions you want to call, then you can first call GetIdsOfNames to get the DISPID of the function, then use Invoke to call a function with a given DISPID. This is how it is done the hard way (pure C++), but you could also use scripting mechanics which take care of all this. One article which talks about similar things is this one: http://www.codeproject.com/com/scripter.asp[^], you can surely find other similar.

Hope this helps,
Daníel



Wenn ist das Nunstück git und Slotermeyer? Ja! Beierhund das oder die Flipperwaldt gersput!

Questionconversion function for midi to wave in MFC/VC++ 6.0 Pin
patelviral23-Jun-07 10:01
patelviral23-Jun-07 10:01 
QuestionAPI function to get the CPU load Pin
mbrezu223-Jun-07 8:55
mbrezu223-Jun-07 8:55 
AnswerRe: API function to get the CPU load Pin
Mike Dimmick24-Jun-07 12:34
Mike Dimmick24-Jun-07 12:34 
Questionvirtual functions Pin
tom groezer23-Jun-07 8:31
tom groezer23-Jun-07 8:31 
AnswerRe: virtual functions Pin
Mark Salsbery23-Jun-07 8:48
Mark Salsbery23-Jun-07 8:48 
QuestionDynamic resource file Pin
hariharask23-Jun-07 8:30
hariharask23-Jun-07 8:30 
AnswerRe: Dynamic resource file Pin
Mark Salsbery23-Jun-07 8:53
Mark Salsbery23-Jun-07 8:53 
GeneralRe: Dynamic resource file Pin
hariharask23-Jun-07 18:15
hariharask23-Jun-07 18:15 
GeneralRe: Dynamic resource file Pin
Mark Salsbery24-Jun-07 6:08
Mark Salsbery24-Jun-07 6:08 
QuestionProperty Page (Loading Data) Pin
DanYELL23-Jun-07 7:38
DanYELL23-Jun-07 7:38 
Question"True" topmost. e.g on top of game windows etc Pin
mosimo23-Jun-07 6:28
mosimo23-Jun-07 6:28 
AnswerRe: "True" topmost. e.g on top of game windows etc Pin
S Douglas23-Jun-07 22:15
professionalS Douglas23-Jun-07 22:15 
QuestionHow to capture a scrolling web page as an image file (bmp,jpeg, etc...) Pin
Atom23-Jun-07 6:26
Atom23-Jun-07 6:26 
QuestionAdding smart tee filter to the filter graph Pin
Maynka23-Jun-07 0:58
Maynka23-Jun-07 0:58 
QuestionReplacing RenderStream in DirectShow Pin
Maynka23-Jun-07 0:36
Maynka23-Jun-07 0:36 
AnswerRe: Replacing RenderStream in DirectShow Pin
Mark Salsbery23-Jun-07 10:46
Mark Salsbery23-Jun-07 10:46 
QuestionSingleton Pin
tom groezer22-Jun-07 23:16
tom groezer22-Jun-07 23:16 

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.