Problem invoking win32 api calls (Eli Friedman)

That worked perfectly! Thanks!