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:...
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:
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...
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...
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.
Adding virtual...
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.
@Igor,
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...
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.
static int Recursion(int x)
{
if (x <= 10)
{
x++;
Recursion(x);
}
return x;
}This code has a serious bug. If you place return statement, as suggested by Danny, it will never return.