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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top