Type: Posts; User:
From a managed DLL, I expose set of classes and public methods from it. Now I want to add help string for the class methods. In C# (Application or Class Libarary), this can be done by simply adding:...
That function requires Windows Vista/2008 as minimum.
See Console functions.
May be, I haven't heard about it. And you expect this to be used by AKGROWN? I mean, think from the other perspective, not just your perspective. You suggest people to use boost, stl and stuff like...
No. I wasn't a genuis, I was idiot - but I gave effort, hardwork in that, and not just posted these petty stuff on forurms to get the reply. :rolleyes:
Your level of programming knowledge forced...
Start with basic program. Know how and why to declare variable.
Learn what if-else, switch constructs are.
Learn, separately, how to read and write file contents.
And then, do what you are...
I mean the WPF technology is out. For excellent GUI, many are thinking of migrating from Windows Forms applications to rich WPF applications. Since, there are class hierarchy changes, and some stuff...
Well.. the program will not compile itself!
You cannot add two pointers.
For the last 10+ years I have been using MFC for professional and personal projects. There is nothing wrong with using MFC. MFC is just a thin wrapper around Windows API. As long as Windows API...
Actually no one would be interested in your homework
First learn the syntax of switch and cout. What is this?
case 'B' 'b':
case 'C' 'c':
case 'D' 'd':
case 'E' 'e':
As a side note, not all compilers implement virtual function the way I described. Though, it is the most common.
Understand following points:
The minimum size of a class is 1 byte - if it doesnt include any data members, doesnt inherit from a class and doesn't have any virtual function.
Check if the same DLL is being loaded (in Output window)
Also make sure DLL is build with debugging information enabled.
Yes. It will return. I mis judged the code!
The original poster is a naive programmer, and is using C++. Asking him to use XML would be over burden. How can you parse the XML file?
AKGROWN, you have 5 text files or 10 text files? Or you have 10 facts in each text file? Can you clear that thing out?
And how to you actually "cout" this thing? What about parenthesis - did you...
I was about to refer those console APIs, but since he has already classified him as a student I did not! ;)
Since you have source code of DLL, just include that project in the solution. Set dependencies, and make sure DLL and EXE goes in the same path. Then you can do single stepping into the DLL function....
Then code it yourself! Append US and Canada as first two entries, and retrieve other countries from table. But in that case you would lose automatic data binding.
I guess you are more concerned about this following statement.
But, in my way of interpreting it, he is just giving an example on how Plug-ins are implemented. With that knowledge, he is...
The OP asked if it is okay to pass or return the class objects. Interfaces are different thing. Yes you can pass interfaces, with less issues than classes. The definition of interface, and importance...
I am afraid to say that no one does that kind of console programming these days.
The options you are mentioning are applicable till Windows 2000. Starting with Windows XP, choosing those console...
Yes you can. You just export the C/C++ function, and import with DllImport attribute and System.Runtime.InteropServices usage. I dont know exact syntax, but you can do that.
Other approach is to...
static int Recursion(int x)
if (x <= 10)
}This code has a serious bug. If you place return statement, as suggested by Danny, it will never return.
You need to create two UdpClient objects, with different ports.
Click Here to Expand Forum to Full Width