|
|
 |
 |
 |
 |
DispatchEntry DispatchTable - Converting C++ to C#
Hello group, How would one write the following C++ code in C#? What .Net object could I use for a DispatchEntry? DispatchEntry DispatchTable[] = { { TEXT("classfilter"), cmdClassFilter, MSG_CLASSFILTER_SHORT, MSG_CLASSFILTER_LONG }, { TEXT("classes"), cmdClasses, MSG_CLASSES_SHORT, MSG_CLASSES_LONG }, { NULL,NULL } };
Thanks, J Wolfgang Goerlich
I can't find anything in MSDN as to what that is. However, if I had to guess, it is some sort of command framework, which .NET doesn't have an equivalent for (at least in Windows Forms, with WPF, there is a command infrastructure). You would have to write something yourself in this case. -- - Nicholas Paldino [.NET/C# MVP] - m@spam.guard.caspershouse.com <jwgoerl @gmail.com> wrote in message news:1181156526.479702.24470@q19g2000prn.googlegroups.com...
> Hello group, > How would one write the following C++ code in C#? What .Net object > could I use for a DispatchEntry? > DispatchEntry DispatchTable[] = { > { TEXT("classfilter"), cmdClassFilter, MSG_CLASSFILTER_SHORT, > MSG_CLASSFILTER_LONG }, > { TEXT("classes"), cmdClasses, MSG_CLASSES_SHORT, > MSG_CLASSES_LONG }, > { NULL,NULL } > }; > Thanks, > J Wolfgang Goerlich
|
 |
 |
 |
 |
|