Hi, I am busy searching, but I'm not sure, what I need to "register" all methods of the main program class, build a console host for that app and: 1. make it posible for the console host to autocomplete the method name when the user types the beginning of the method name and presses [tab]? 2. have one invoking point for all methods, passing the method name as a string parameter - something like RunMethod(System::String methodName)
. Should I use attributes? Delegates? Any hints appreciated. Thanks, nj -- modified at 5:53 Tuesday 17th October, 2006 (added to title)
n j
Posts
-
console app: methods autocompletion (get method name from string parameter of invoker)[modified] -
Vista RC2A-HAHAHAHA! "Windows XP SP1 support ends!" "All must install SP2!" Redmontonians are Software Terrorists. Like George is the criminal against humanity. Ladies and gentlemen, would you mind if they garbage collect themselves? I wouldn't. But there is a way out. And the name of it is Opensource. It is Linux. I'll consider it almost sure choice for me after I finish my project with __gc managed __extensions for C++ 2003 .net 1.1. Edit: ppunctuation. NO __gc MORE ;)
-
hints/good book needed: OOP design 3-layer managed C++ appWelcome everyone, (I am writing in managed C++ using as a template an app in C#, which I don't know well, have slight plain C++ background, a little bit object oriented.) In my OOP project in C++ .net: I use a concept from a C# project that has a mainClass.cs containing some member clases and the main entry point, mainForm.cs and settingsForm.cs. I suppose that in C++ I should also have the _tmain() inside mainClass definition. But here I get confused with the namespaces and #include's. 1) Having already my "console" (at least not WinForm) mainClass definition in one project, do I put the mainForm class in a separate project, call it gui, in the same solution? or just keep it in the same project? 2) Do I make one namespace for both "layers" (gui and main program)? 3) Do I need to #include the other .h file in both form.cpp and main.cpp? (sort of "cross include"?) I realize these are probably trivial basics, but I'll truly appreciate any hints or maybe book recommendations, which could help me go further with the project. Greetings and thanks in advance, njupas