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:
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
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
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.
|

what it mean by declaraion for parameter types?
Quote:
|
VB.NET does not support the Any keyword. You must specifically declare the data type of every argument and of the return.
|
any ideas?