November 19th, 2012 12:50 AM
As it was mentioned it is up to compiler what the sizeof(Base) is. The only requirement is that the size of the class should be greater than zero. However if you want to understand from where 16...
September 10th, 2011 12:40 AM
Inline assembler can not be used in C/C++ sources which are compiling to x64 target platform (_asm and __asm keywords are not supported on x64 architecture).
Intrinsics are small low-level...
August 11th, 2011 12:20 AM
Let me share 3 ways to use web services from C++ known to me:
1. Windows Web Services API. Also there is an article available. The problem is that WWSAPI is available only starting from Windows 7....
January 20th, 2010 11:48 PM
Instead of *.exe generation, why you don't want to consider to write one simple application (*.exe), which will display MessageBox with different text supplied by command line when application is...
January 20th, 2010 11:29 PM
You are using str_Group, str_Command, GroupBox and CommandBox variables in CAboutDlg class, which are declared in CUSBDlg class, so compiler doesn't recognize them.
January 19th, 2010 06:03 PM
It is not clear why you are avoiding to use windows messages approach (for example SetWindowsHookEx function).
January 19th, 2010 05:51 PM
As the name implies combo box is a "combination" of edit box and list box.
So when drop down list is shown list box is activated, when it is closed edit box is activated.
To get the window handle...
January 19th, 2010 09:23 AM
You need to add version resource into your project and then edit it.
January 14th, 2010 11:25 PM
Following functions from Windows API can be used:
CopyFile and CopyFileEx.
January 13th, 2010 02:05 AM
You can handle WM_LBUTTONDOWN message in LowLevelKeyboardProc as below:
case WM_LBUTTONDOWN:
PostQuitMessage(0);
break;
This will allow to exit from the message loop in _tmain when left...
January 13th, 2010 01:32 AM
The problem might be in the prototypes of the functions.
If you look at the errors generated by the compiler you will observe that only the functions that have signed char type as one of the...