Quote Originally Posted by ldor108 View Post
By the way, I've checked with the debugger, the line (ProcAdd) (hwnd,pd.hDC,PW_CLIENTONLY); is executed (my first thought was that maybe the program never reaches there but it does). So the problem must be somewhere else.
What does the e (ProcAdd) (hwnd,pd.hDC,PW_CLIENTONLY); return? TRUE (some value != 0) or FALSE (0)?
If it is FALSE then this function failed.