It is an interesting concept, but probably not so very well suited for the .NET world with its own memory manager and a garbage collector, also the word "easy" in the article name is in quotes for a purpose. You will be much more better of with an implementation of a "Command" OO design pattern, which will allow your app to support the same functionality but much more elegantly.
There's no way to load it in memory first. You might want to look at your code, very closely, for optimization opportunities. Since you didn't supply any code sample, it's really hard to tell you what you might try to get an advantage. RageInTheMachine9532
HAHAHA_NEXT wrote: But i will probably have to create a preprocessor directive myself I itch for that too :) I use it (#if) alot. To simulate the enviroment, eg:
#define HELLO
bool Blah(string foo)
{
#if HELLO
return true;
#elseif
return false;
#endif
}
top secret AdvancedTextBox
Actually after i red about it, it is much less useful. SaveKey/Restore Key save the Key Contents, but not the key itself neither its security and other attributes. :((. Only Absolute Power and Absolutely No power matters. The rest is slavery.
I think i found it. Stupid vb does not understand NULLS. error = ::RegEnumValue(hSectionKey, index, nameBuff, nameBuffSize, 0, NULL,NULL,NULL); Does not work with VB (&^%$^^&^%&) :mad:. Thank you all. I changed my code and it works now.
Too much work. I want this done automatically.(Like i specify the dll names,the program finds up all the occurences and i choose whatever to delete them all or not.
At the risk of annoying whoever posted on this subject yesterday:
enum { MAX_SPEED = 500 };
The ability to initialise a constant within the class declaration was added to C++ quite late in the standardisation process, and VC6 doesn't support it. Stability. What an interesting concept. -- Chris Maunder
HAHAHA_NEXT wrote: ... delete ptszVersionInfo; //Executes OK ptszVersionInfo = _T("Anton"); //Executes OK delete ptszVersionInfo; Two problems: 1) You are using ptszVersionInfo after you've done a delete on it. 2) You are doing a second delete on a ptr that you've already done a delete on. Neville Franks, Author of ED for Windows www.getsoft.com and coming soon: Surfulater www.surfulater.com
for that u have to change settings. step1: go to project->settings->c/c++->cateogery in that select preprocessor. in preprocessor defnitions txt box _MBCS to _UNICODE step2: in link tab goto category.select output. in entry point textbox write this 'wWinMainCRTStartup' Thats all.
I believe someone wants a System.Diagnostics.FixIt class. :-) Debugger tools are like any other tool: A hammer drives nails and it can help build a house but it doesn't do that for you automatically. I could tell you how to use the VS.Net Debugger but you'll never gleen the useful tactics and tricks to spot errors easily without actually doing it yourself. The .Net SDK comes with a debugger...its functional but lacks bells and whistles. The debugger in VS.Net works well enough. But it just spits out data for you to figure out. The rest is up to you to figure out. For general debugging behavior you should look at System.Diagnostics.Debugger and System.Diagnostics.Debug (or heck the System.Diagnostcis namespace).
Open a cmd prompt at your server and type: netstat -a Netstat then displays all connections and listening ports. Check the Microsoft Windows 2000 Server Documentation on Command-line Utilities or type netstat /? for help. Regards, -Ron Sincerely, -Ron
There's two options: 1. Run the ping program by launching it. There's LOTS of examples out there on how to launch a console program and redirect its stdout and stderr back to you. 2. Figure out the ping protocol and write some socket code to do it yourself. I'm guessing #2 wouldn't be that hard to do, but I've never looked at ping myself.
I, for one, do not think the problem was that the band was down. I think that the problem may have been that there was a Stonehenge monument on the stage that was in danger of being crushed by a dwarf.
-David St. Hubbins
I only put 224.0.0.0 because it is the only one i care about( multicast mask). The full thing would be too big to display. I am aware of metrics, but i don't want to modify them since the application i am making is a game and you dont wont a game scrapping all your network info :).