Hello,
I've been trying to compile / run the RAPICSharp sample app on Vista64. I have been having the same problem as Randall. NOTE: I also tried running it as admin with no luck. I think I'm going to try to fix this myself, but it's going to take some time since I don't know anything about RAPI. LOL.
I will try to post this in the bug reporting tool if it isn't already there, but here is the error I get...
System.OverflowException was unhandled
Message="Arithmetic operation resulted in an overflow."
Source="mscorlib"
StackTrace:
at System.IntPtr.op_Explicit(IntPtr value)
at OpenNETCF.Desktop.Communication.RAPI.SetDeviceFileTime(String FileName, RAPIFileTime DesiredTime, DateTime NewTime)
at OpenNETCF.Desktop.Communication.RAPI.CopyFileToDevice(String LocalFileName, String RemoteFileName, Boolean Overwrite)