Type: Posts; User: Armen
Search took 0.01 seconds.
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....
July 26th, 2011, 05:14 AM
I'm not speaking about the extension. I meant to hook Web Browser's native IOleCommandTarget interface, which exists during lifetime of IE process. And Exec method is called in much more cases, than...
July 24th, 2011, 08:07 AM
I'm not sure about any documented way to do that.
For undocumented way you may try to hook IOleCommandTarget interface and particularly its Exec method. Exec method is invoked when user...
July 22nd, 2011, 08:40 PM
You may take a look at DWebBrowserEvents2 interface.
DWebBrowserEvents2::BeforeNavigate2 event is fired, when browser is going to be navigated to some URL. The second parameter of...
July 20th, 2011, 08:49 PM
At least the name itself.
According to its name in the definition it should be MinimumEntry.
July 20th, 2011, 06:50 PM
There is a simple Very Sleepy profiler released under GNU Public License. In contrast to Visual Studio stand-alone profiler, it has some GUI and doesn't require compiling the module with /PROFILE...
I'll suggest you to use SetProp and GetProp functions from Windows API.
Once the window is created, you can set the pointer to your class as the property of the window using SetProp.
June 26th, 2011, 08:43 PM
You should give integer code of the character from ANSII character set to isdigit function. But in your code you gave the integer value (length is implicitly cast from float to int).
You can define...
June 23rd, 2011, 07:06 AM
That crash (if any) is out of the responsibility of the developer who uses OPENFILENAME structure. It is the responsibility of the person who designs GetSaveFileName/GetOpenFileName functions and...
June 21st, 2011, 10:10 PM
Well, Here is an example in MSDN of using GetSaveFileName without ZeroMemory call.
In your code it is the ZeroMemory that initializes a variable of OPENFILENAME structure with 0-s, and not...
June 20th, 2011, 09:08 PM
How to: Reset Your Settings
June 17th, 2011, 11:17 PM
Then why you are using i>=integer condition to end the for loop instead of using i < integer (or i <= integer)?
June 17th, 2011, 06:52 AM
You may take a look at Intel® Parallel Studio, which plugs into the Visual Studio IDE (including VS 6.0). But in my opinion it is better to switch to the newer versions of Visual Studio, which are...
June 13th, 2011, 09:21 PM
1. Most probably the answer would be "yes", if the driver is kernel
2. The usage of inline assembly is not dependent from particular function or
interrupt. It only...
June 13th, 2011, 10:35 AM
Did you build and register proxy/stub DLL for your interfaces?
If you are going to use your COM server with both 32-bit and 64-bit applications, you need to build and register both 32-bit and 64-bit...
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:
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...
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!