Click here to Skip to main content
15,910,981 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a old code in VB.Now I convert it into vb.net.There is a line in a code


VB
pCParameters = VarPtr(Parameters)


When I execute code the error occure that


Name 'VarPtr' is not declared.

VarPtr not supported in vb.net.So how I replace it.
Posted

add:
VB
Imports System.Runtime.InteropServices

for more refer:
http://social.msdn.microsoft.com/Forums/en/Vsexpressvb/thread/698c6597-f61e-46da-8f2a-dfb764015838[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900