Unhandled Exception:
System.BadImageFormatException: Method has zero rva
File name: 'prog'
at Test.capDriverGetCaps (System.IntPtr hwnd, CAPDRIVERCAPS& psCaps, System.Int32 wSize) [0x00000] in <8b7a57dfee5a4838914af7ca54c5fc1b>:0
at Test.Main () [0x00000] in <8b7a57dfee5a4838914af7ca54c5fc1b>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.BadImageFormatException: Method has zero rva
File name: 'prog'
at Test.capDriverGetCaps (System.IntPtr hwnd, CAPDRIVERCAPS& psCaps, System.Int32 wSize) [0x00000] in <8b7a57dfee5a4838914af7ca54c5fc1b>:0
at Test.Main () [0x00000] in <8b7a57dfee5a4838914af7ca54c5fc1b>:0