September 12th, 2010, 07:35 AM
See this page
Programming languages mostly evaluate in left to right order. Parentheses group statements, causing the result contents of the parentheses to be evaluated as a single statement, but...
August 11th, 2010, 12:15 PM
Third line to separate variable declarations (not as operator, as stated above)
Sixth line to separate loop increment statements (as operator)
Not a particularly instructive example I have to say.
August 9th, 2010, 10:17 AM
1. You may not assume that the buffers are null-terminated, don't use strlen()
2. When calling setp() you are replacing the previous buffer with your own.
This means that when...
July 27th, 2010, 05:05 AM
Google is your friend :)
(I expect the code in the second answer there does...
July 21st, 2010, 06:30 AM
Hehe, I second the above. But being a Win32 programmer myself I know how curious about this kind of stuff I was in the beginning :)
Number 2, the callback procedure, is what goes inside the...
July 20th, 2010, 07:19 PM
First of all, I'd recommend you be careful with hooks. Because if you make a mistake more than your program may crash, though if you're only going to hook a single notepad process there's not much of...
July 20th, 2010, 01:55 PM
The window class (the second parameter) you're trying to use does not exist. AFAIK the names of window classes are case-sensitive so what you want is
July 20th, 2010, 11:48 AM
Hello, I'm currently experimenting with the windows (vista) tablet pc api. It works but I get a large amount of debug messages similar to:
First-chance exception at 0x7752fbae in...