Skip to content

MultiToWideBuffer call from InitDevNames for 19.x causes problems

What is new - 8.2

The InitDevNames function in cPrintDialog calls MultiToWideBuffer and sometimes the pDriverName passed in remains 0 while the returned length is not equal to zero. This problem disappeared when the data type of the variable was changed from pointer to address. Therefore, for cPrintDialog, all pointer variables and arguments were changed to address.