Try to ask pingo ...
I'm new at Visual C++
So i want to find the idiot CShell:
But i got this error:Code:DWORD FindCShell( ) { if( EnumProcessModules(hProcess, hMods, sizeof(hMods), &cbNeeded)) { for (int i = 0; i < (cbNeeded / sizeof(HMODULE)); i++ ) { TCHAR szModName[MAX_PATH]; // Get the full path to the module's file. if ( GetModuleFileNameEx( hProcess, hMods[i], szModName, sizeof(szModName) / sizeof(TCHAR)) != NULL) { std::string ModuleName; TcharToString(ModuleName,szModName); if ( EndWith(ModuleName, "CShell.dll")) return (DWORD)hMods[i]; } } } return 0; }
Anyone would help me, how to fix it ?Code:error LNK2001: unresolved external symbol _EnumProcessModules@16 error LNK2001: unresolved external symbol _GetModuleFileNameExW@16
Try to ask pingo ...
Make sure you include Psapi.h and also the lib
Like this
Also why make it so complicated for yourself? If you want to do dump cshell just load cshell using LoadLibrary and attach olly to your program. If you need a handle to cshell for your hack you can also use the regular way. For instanceCode:#include<Psapi.h> #pragma comment(lib, "Psapi")
However you need to encrypt the cshell string. "Cshell.dll" will trigger xtrap detection.Code:DWORD Cshell = (DWORD)GetModuleHandleA("Cshell.dll");
They're out ta get me!
Persistence is an art in itself. Let them slam each door in your face, even reject the whole definition of who you are. There will be a day when they come knocking on your door instead.
add psapi.lib to your linked libraries :
#pragma comment(lib, "psapi.lib")
also, use #define PSAPI_VERSION 1 before including psapi.h.
[img]https://i43.photobucke*****m/albums/e367/DeteSting/Steam-update.gif[/img]
So, is this fixed ?