hi again, another problem but much farther ive got now, Im converting to VB.Net and have fixed all the Syntex errors but I have a problem with the following line:
Obviously 'as any' isnt supported in delcare funtions in vb.net, would anyone know the vb.net version of the any value? thanks again.
ok i found my problem
Code:
Public Declare Function WriteProcessMemory Lib "kernel32" (ByVal hProcess As Long, ByVal lpBaseAddress As [COLOR="red"]Any[/COLOR], ByVal lpBuffer As [COLOR="Red"]Any[/COLOR], ByVal nSize As Long, ByVal lpNumberOfBytesWritten As Long) As Long
ok i found my problem
:confused: what it mean by declaraion for parameter types?Quote:
As Any not allowed in VB.NET. As Any will not be allowed in API declarations. Get prepared by adding a separate API declaration for all parameter types you may need. Can be fixed before or after upgrade.
any ideas?Quote:
VB.NET does not support the Any keyword. You must specifically declare the data type of every argument and of the return.