title: Conversion System::Uint^ to unsigned long
body: <p>I have a function which takes pointer value as argument in my C Static Library.
      Now I am writing C/CLI wrapper on it which in turn will be used in C# code.</p>
  
  <pre><code>long function_C(    PULONG pulsize, PULONG pulcount );
  </code></pre>
  
  <p>Wrapper Function  C++/CLI</p>
  
  <pre><code>long function_Managed(  System::Uint^ size, System::Uint^ pulcount  );
  </code></pre>
  
  <p>I am calling function_C function from function_Managed.Now I facing problem to convert System::Uint^ PULONG.</p>
  
  <p>My Query is<br>
  1. is this correct do this.<br>
  2. If this is correct than how to convert System::Uint^ to PULONG</p>