Invalid parameter: passing MEM_RELEASE and a non-zero dwSize parameter to '%ls' is not allowed. This causes the call to fail ...