So, you need a way to get your user local IP address? Here is the winsock way.
Q: How can I get file version information from my own exe/dll or any other file?
A: The VerQueryValue function retrieves specified version information from the specified version-information resource. To retrieve the appropriate resource, before you call VerQueryValue, you must first call the GetFileVersionInfoSize function, and then the GetFileVersionInfo function.
So, you want to disable XP Theme applied on the entirely window or maybe just on a button? or any other control?
I’m some how disappointed when I see a fellow programmer using 3d party controls/dll/activeX/whatever, just for doing easy stuff like playing a stupid event sound from their application. It’s very easy to play a sound (wav/mp3 even videos) it has been already implemented by M$ long time ago and if you don’t want advanced stuff like The BASS library has, (which is free for non-commercial use) you can use the MCI Functions from winmm.dll library (you will find this library even on a Windows 95 system -if you can find one- ) . Now how to use winmm in you application?
Sometimes it is necessary to hide the user sensitive settings like the passwords/ login etc in your application settings file (registry), so you have to make it somehow unreadable applying some encryption (scrambling the text). I’m only going to write two simple and fast ways to achieve that: