No, the syntax is completely wrong for start. Don't put a semicolon after the if expression. You need a code block after "else if". Can you...
It shouldn't unless you specify that the invalidated area needs blanking first. Look at the bErase parameter. If specifying that it shouldn't be...
InvalidateRect is your friend. Also see UpdateWindow if you want the changes to take place immediately, rather than waiting for Windows to get...
You need to learn the technique of dry running. Work through the code doing (on paper if necessary, eventually you'll be able to do it in your...
Yep, use GetClassName to get the class name from the window handle, GetWindowLong(hWnd, GWL_HINSTANCE) to get the instance from the window handle,...
What language are you using?
http://en.wikipedia.org/wiki/Remote_procedure_call
Alternatively (to solve the original problem directly), don't specify CS_HREDRAW or CS_VREDRAW in your window class style. However you would...
I'm sure I used to use %x for this sort of stuff. Maybe compilers were less strict in those days. Anyway, the following definitely works (I...
Why are you using shared memory; are you sharing memory with another application (which is what it's for) or are you assuming that multiple...
Cool. I'm wanting some big hair :-)
There's a lot of casting involved in Windows programming, due to the generic nature of the interfaces. As long as you're certain the data pointed...
xpi0t0s has reported a post. Reason:Poster appears to be a waste of oxygen. Post: How to create a function that tests bits in a byte, and it...
I guess you can't post more than 10K because that's a heck of a lot of code to ask someone to go through. I don't see why you posted the whole...
It's not OS independent by the way. Doesn't work on Windows in VS2005. (Maybe it works in some other compiler.)
Dunno about this shm stuff I'm afraid. Used dummies to replace the shm stuff with malloc viz: int shmget(int,size_t sz,int) { return (int)sz; }...
It's easy enough; where are you stuck? Post the code, explain the problem you have and we'll help you solve it. Or are you just after someone to...
xpi0t0s has reported a post. Reason:Another spamming dingbat. Post: Structure Padding Forum: Advance C Assigned Moderators: N/A Posted by: Teetdiro
xpi0t0s has reported a post. Reason:Irrelevant spam. Post: Bugs fixing-dangling pointer Forum: Advance C++ Assigned Moderators: N/A...
Try putting using namespace std; before #include "Person.h".
Separate names with a comma.