Hi
I am writing a code in which I have to display the print dialog.
PRINTDLG pdlg;
memset( &pdlg, 0, sizeof( PRINTDLG ) );
pdlg.lStructSize = sizeof( PRINTDLG );
pdlg.Flags = PD_RETURNDEFAULT | PD_RETURNDC;
PrintDlg( &pdlg );
But I am getting an error message
"[Linker error] undefined reference to `PrintDlgA@4' "
When I debug the code I found that I am getting this error on this line
PrintDlg( &pdlg );
Am I missing something.
Kindly advice
Regards
Karan