Thank you so much Victor, for solving the problem. I am too lax with string knowledge. The one with the L
worked. The compiler did not recognize the one with the _T macro. I don't know why it worked on my Vista
machine. Strange.

Problem solved - I now get a valid handle, thank you.