1

Resolved

Get the wiimote library compiling w/ the compact framework

description

When directly loaded into a .NET compact framework project, the source to Brian Peek's wiimote library does not compile. It references safehandle objects that do not exist by default in the .NET Compact Framework.

comments

justinb wrote May 12, 2007 at 10:33 PM

I have it compiling by replacing the SafeFileHandles with IntPtr's in the relevant spots, and using a different filestream constructor overload. However it throws an exception at runtime due to the lack of specific DLL's being P/Invoke'd. But that's a story for another day :)

wrote May 12, 2007 at 10:51 PM

wrote May 12, 2007 at 10:55 PM

wrote May 13, 2007 at 7:43 PM

justinb wrote May 13, 2007 at 7:43 PM

Fixed in that it compiles, but an equivalent to safehandles would be nice, rather than going right back to IntPtrs. Waiting to close until a decision is reached on that.

wrote Feb 2, 2013 at 4:53 AM

wrote May 14, 2013 at 12:50 AM

wrote May 14, 2013 at 12:50 AM

wrote Jun 11, 2013 at 1:33 AM