title: Motorola MC75 and Symbol - UnmarshalStructInfoFrom
body: <p>I have this issue with a Motorola MC75 and the Symbol libraries.</p>
  
  <p>So what I did is that I removed the "Symbol Managed Class Libraries" because I wanted to repro a bug that was happening on production.</p>
  
  <p>But now that I installed back the "Symbol Managed Class Libraries" v 2.5 and copied back the file "symbol.all.arm.cab" to my mobile.</p>
  
  <p>But when I try to load the Barcode Reader I get an exception that says:
  "{Symbol.Exceptions.WrongMarshalSizeException: UnmarshalStructInfoFrom
     at Symbol.Marshaller.SymbolMarshal.UnmarshalStructInfoFrom(IntPtr pPtr, Int32 nOffset, Int32 nAllocated, Int32 nUsed)"</p>
  
  <p>And the exact breakpoint where this occurs is when I call "reader.Actions.Enable()", reader is a "Symbol.Barcode.Reader()"</p>
  
  <p>If you have any idea what is going on it will be greatly appreciated. Thanks, regards.</p>