14-03-14, 11:03 PM
From C++ to VB
بموجب برنامج ترجمه
بموجب برنامج ترجمه
PHP كود :
Private K32EnumAddr As UInteger = CUInt(GetProcAddress(LoadLibraryA("Kernel32.dll"),"K32EnumProcesses"))
'DWORD EnumAddr = (DWORD)GetProcAddress(LoadLibraryA("Psapi.dll"),"EnumProcesses");
Private old As UInteger
'C++ TO VB CONVERTER TODO TASK: The following statement was not recognized, possibly due to an unrecognized macro:
'C++ TO VB CONVERTER TODO TASK: There is no VB equivalent to 'sizeof':
VirtualProtect((Object*)K32EnumAddr,sizeof(K32EnumAddr),PAGE_EXECUTE_READWRITE,&old)
'VirtualProtect((LPVOID)EnumAddr,sizeof(EnumAddr),PAGE_EXECUTE_READWRITE,&old);
'C++ TO VB CONVERTER TODO TASK: The following statement was not recognized, possibly due to an unrecognized macro:
memcpy((Object*)K32EnumAddr,(Object*)ChrW(&HC2).ToString() & ChrW(&H0C).ToString() & ChrW(&H00).ToString(),3)
'memcpy((LPVOID)EnumAddr,(LPVOID)"\xC2\x0C\x00",3);
Private As Return 0
}
'C++ TO VB CONVERTER WARNING: The original C++ declaration of the following method implementation was not found:
'ORIGINAL LINE: Integer BYPASS::Driver64()
Partial Public Class BYPASS
Public Function Driver64() As Integer
'C++ TO VB CONVERTER TODO TASK: The memory management function 'wmemcpy' has no equivalent in VB:
wmemcpy(CStr(&H405D0C24), CStr("X6va01"), 6)
Return 0
End Function
End Class
