Quote Originally Posted by lawl_rock View Post
Thank you very much, I successfully implemented CCriticalSection into my code.
Code:
	if (a) delete [] a;
Not necessary to test for NULL. It is perfectly legal to delete a NULL pointer.

Regards,

Paul McKenzie