Different error this time:

Code:
A first chance exception of type 'System.ComponentModel.Win32Exception' occurred 
in Cjwdev.WindowsApi.dll

The system cannot find the file specified
I am running on WinXP Pro SP3 and my ID has local admin rights. I removed and re-added the dll in the references tab. Still no go. But this code works fine:

Code:
NativeOperatingSystem.Is64BitOperatingSystem