September 12th, 2010, 06: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, 11:15 AM
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, 09: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, 04:05 AM
Google is your friend :)
(I expect the code in the second answer there does...
July 21st, 2010, 05: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, 06: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, 12: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, 10: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...