You have be able to "shell out" and use the program IPCONFIG.EXE. I don't think there is an API call (I could be wrong) but you may be able to with Shell programming.
Hope this helps, if even a little bit. Cheers,
Drychron Red
Hi everyone, and thanks ahead of time for considering my post. :)
I need to trap function key F1-F12 keystrokes in a window. I have tried OnChar() and OnKeyDown() etc. which give me regular keys, and I have tried OnSysChar() which gives me ALT-keys, but I am still lost as to how to get the...
Thank you Shyan.
I am not familiar with std:string, but I will be soon. :)
In general, I think using a method instead of a cast is going to have to do it. It's not as pretty, but then again, neither is strcpy(), etc.
I am using this in kernel mode ring0 where there is no CString. Maybe I...
Hi! What I have is my own variable type, CVar which, for simplicity, let's say has one member int m_nData. I need to make an operator overload that returns a string version of the variable, but returning a pointer to a local variable is a no-no (of course) but I don't want/can't alloc memory...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.