COnversion or Pointer

  • Thread starter Thread starter Sumit Gupta
  • Start date Start date
S

Sumit Gupta

Hi..

Can Anyone tell me the Vb .Net equivalent code of

C# code :


(Intptr)HTcpation

where IntPtr is system structure and HTCAption is Integer type const. What
will be return value

Sumit
 
* "Sumit Gupta said:
Can Anyone tell me the Vb .Net equivalent code of

C# code :


(Intptr)HTcpation

where IntPtr is system structure and HTCAption is Integer type const. What
will be return value

\\\
Dim i As Integer = 22
Dim p As IntPtr = New IntPtr(i)
///

That should work in C# too.
 
Back
Top