- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 3
- Posts with Downvotes
- 2
- Downvoting Members
- 3
9 Posted Topics
Hi could someone possibly convert this VB Code into C++ for me? it would help ALOT! [CODE]Private Declare Function GetVolumeSerialNumber Lib "kernel32" Alias "GetVolumeInformationA" (ByVal lpRootPathName As String, ByVal lpVolumeNameBuffer As String, ByVal nVolumeNameSize As Long, lpVolumeSerialNumber As Long, lpMaximumComponentLength As Long, lpFileSystemFlags As Long, ByVal lpFileSystemNameBuffer As String, ByVal … | |
Hi, i have made a code. Its meant to announce a "Sentence" but i dont know how to make a string into a sentece. The string up to now only announces the first word of the sentece. [CODE] //Announce }else if(memcmp((void*)lpcLine, "/announce ", 10) == 0){ bRet = false; char … | |
Code [code] //God Mode }else if(stricmp(lpcLine, "!god") == 0){ bRet = false; if(ADDR_GODMODE[0] != 0x90){ BYTE godmode[] = {0x90, 0x90}; EnableHack((BYTE*)ADDR_GODMODE, godmode, 2); Echo("GodMode On"); } else{ BYTE godmode[] = {0x7B, 0x05}; EnableHack((BYTE*)ADDR_GODMODE, godmode, 2); Echo("GodMode Off"); } [/code] Error error C2109: subscript requires array or pointer type | |
ok, i want to know how to make a pointer in C++ e.g: i have the address 006587B8 the offset for the pointer is 18 and i want to make its value 1 006587B8 = Pointer 18 = Offset For Pointer 1 = Value I Want To Make The Address … | |
When i compile this code i get a few errors (i guess are simple for you guys) [CODE]void WriteMem(DWORD MemOffset, DWORD DataPtr, DWORD dataLen) { { DWORD OldProt; VirtualProtect((void*) MemOffset, dataLen, PAGE_EXECUTE_READWRITE, &OldProt); RtlMoveMemory((void*) MemOffset, (const void*) DataPtr, dataLen); VirtualProtect((void*) MemOffset, dataLen, OldProt, &OldProt); } void EnableHack(BYTE* AddrToChange, BYTE* To, … | |
Ok My Code Is Fine As My Friend Can Compile It Fine So I Wont Show That. My Error Is This [CODE] 1>LINK : fatal error LNK1104: cannot open file 'odbc32.lib' [/CODE] I Have SDK Installed And Visual C++ 2005 With MSDN | |
I have a process that i want to attach a debugger to but it has enumwindows enabled. I want to disable that. any help? | |
Ok Im Back I Think these Are the Last Error's Of The Lot This is My Code [CODE] #include <windows.h> void WriteMem(DWORD MemOffset, DWORD DataPtr, DWORD dataLen) { DWORD d, ds; VirtualProtect(address, bytes, PAGE_EXECUTE_READWRITE, &d); memset(address, type, bytes); VirtualProtect(address,bytes,d,&ds); } [/CODE] And These Are My Error's [CODE] error C2065: 'address' … | |
Ok Im New To C++ But Im Making A Code That Should Hopefuly Make Me Able To Write Into A Program's Memory I Get These Error's [CODE] error C2059: syntax error : '.' error C2447: '{' : missing function header (old-style formal list?) [/CODE] My Code Is [CODE] .void WriteMem(DWORD … |
The End.