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






