Open GoogleCodeExporter opened 9 years ago
Hi Melanie...
I'm just diving into both Open CV and MSRS, but I've been a .NET user for a
number of
years... and have run into this problem myself...
IIRC, there's some sort of keyword you can add to the function declarations (aka
unmanaged methods) - I think in C# it's "unsafe" but I'm not sure - I think
you're
right about that error message, the unmanaged calls are what's tossing you...
Also try switching from debug to run mode or back - I've had projects that
would toss
those kinds of errors in release mode, but not in debug mode, in the past...
FYI, the MSRS RoboChamps Amazed Challenge referee would've thrown this error no
matter what - it was a signed-code system itself... meaning you couldn't call
any
unmanaged code - it was designed that way so some sneaky individual didn't just
wire
their joystick up to some P/Invoke calls and cheat...
Hopefully some of this helps!
Original comment by merlin...@gmail.com
on 29 Jun 2008 at 12:31
Original issue reported on code.google.com by
Melanie....@gmail.com
on 21 Jun 2008 at 6:02