CPrintDialog CommDlgExtendedError
HoNey
1
Reputation point
when i use CPrintDialog , (win10,x64)
CPrintDialog PD(TRUE);
PD.DoModal();
it show no dialog and returned IDCANCEL, and i run CommDlgExtendedError () after it,
then returned "CDERR_MEMLOCKFAILURE", it means "The common dialog box function was unable to lock the memory associated with a handle."
but i don't understand it, how can i fix it?what can i do?
Sign in to answer