You are here: Home »

C++

Category Archives: C++

Get User IP address

So, you need a way to get your user local IP address? Here is the winsock way. read more

You like this post? Be the first of my friends to give me a beer! click here. Thanks!
June 16, 2007 | | Builder, C++, [ En ]

Comments Off

File version information

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.
read more

You like this post? Be the first of my friends to give me a beer! click here. Thanks!
February 25, 2007 | | Builder, C++, [ En ]

Comments Off

BPX (INT3)

read more

You like this post? Be the first of my friends to give me a beer! click here. Thanks!

The C++ Resources Network

The C++ Resources Network
read more

You like this post? Be the first of my friends to give me a beer! click here. Thanks!

Disable XP Theme…

  So, you want to disable XP Theme applied on the entirely window or maybe just on a button? or any other control?
read more

You like this post? Be the first of my friends to give me a beer! click here. Thanks!

mciSendString: Playing with sounds

  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?

read more

You like this post? Be the first of my friends to give me a beer! click here. Thanks!
December 9, 2006 | | C++, [ En ]

Comments Off

Encrypting your data

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: read more

You like this post? Be the first of my friends to give me a beer! click here. Thanks!
December 7, 2006 | | C++, [ En ]

Comments Off