Code:
PrintDlg.hDevNames = GlobalAlloc(GMEM_MOVEABLE Or GMEM_ZEROINIT, Len(DevName))
I'm getting GPF's doing some printer API stuff, Q173981.....

Do you think the above should be LenB (because of unicode in NT) and not Len........



thx