So you are pressing 'z' + 'ctrl' + 'alt' ?

What int have you defined ACCEL_QUIT as?


ie
#define ACCEL_QUIT 40001



What happens in the callback under the case ACCEL_QUIT: any msg's incomming?


try
GetLastError() if table = NULL