title: How can I get IntPtr pointer from object
body: <p>I'm working on a finger-print device, the manufacture (Upek) gave me a c++ BSAPI.dll so I need to use wrappers to get this to work in .net.</p>
  
  <p>I'm able to work with it all from in-memory, I could grab and match the finger prints.</p>
  
  <p>Now I'm stuck trying to get the data out to a file and then loading it back in to memory and get the IntPtr.</p>
  
  <p><a href="http://pastebin.com/tzHchYCL" rel="nofollow noreferrer">Here</a> there's a c++ sample on how to export and import from a file. but I don't know how to read it.</p>
  
  <p>Any help is appreciated Thanks all</p>
  
  <hr>
  
  <p>This is what I have and works great:
  <img src="https://i.stack.imgur.com/wr3KF.png" alt="enter image description here"></p>
  
  <p>Now I need two things
   1. Take that bufBIR save it to a database.
   2. Take the data I saved and pass it in to the abs_verify.</p>
  
  <p>How can this be done?</p>