تقييم الموضوع :
  • 1 أصوات - بمعدل 1
  • 1
  • 2
  • 3
  • 4
  • 5
هل يمكن تغير هذا الكود الى vb.net or C#!
#7
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 TASKThe following statement was not recognizedpossibly 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 LINEInteger 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 
الرد }}}
تم الشكر بواسطة:


الردود في هذا الموضوع
RE: هل يمكن تغير هذا الكود الى vb.net or C#! - بواسطة bumb - 14-03-14, 11:03 PM


التنقل السريع :


يقوم بقرائة الموضوع: بالاضافة الى ( 1 ) ضيف كريم