Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

Autor Topic: No Me Deja Enganchar Dll Ha Gameserver !  (Visto 645 veces)

0 Miembros and 1 Guest are viewing this topic.

Offline CorsarioDgx Posteado: May 19, 2021, 12:08:14 AM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 392
  • Gracias recibida: 7381
  • mx
Buenas He Estado Intentando Agregar una Dll  a Un Nuevo  GS ! Porque el que trae tiene Virus 
Pero No Me Deja Enganchar Me Aparece Error !! Adjunto Codigo del GS!


Code: [Select]
#include "Stdafx.h"
HMODULE _MODULE;
HMODULE _NEWDLL;
INT_PTR _N;
BOOL isProc = 0;
HANDLE thread;
DWORD id;

BOOL __stdcall DllMain(HMODULE hModule, DWORD dwReason, LPVOID lpReserved)
{
if(dwReason == DLL_PROCESS_ATTACH)
{
_MODULE = hModule;

if(!Scape::InitStart::StartUp())
{
MessageBox(NULL, "FALLO AL INICIAR TSM PLUGIN..", "ERROR", MB_OK | MB_ICONERROR);
ExitProcess(1);
}

else if(!Memory())
{
ExitProcess(1);
}
}
return TRUE;
}

bool Memory( )
{
thread = CreateThread( NULL , 0 , (LPTHREAD_START_ROUTINE) MainProc , 0 , 0 , &id );

if ( thread  == false)
{
return FALSE;
}

CloseHandle( thread );

return TRUE;
}

DWORD __stdcall MainProc ( PVOID pVoid )
{
while(true)
{
SetProcessWorkingSetSize( GetCurrentProcess() , -1 , -1 );
Sleep( 1 * 60000 );
}
return FALSE;
}

Gracias:


Offline xyzzsdfl #1 Posteado: February 24, 2022, 09:52:11 AM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 9
  • Gracias recibida: 0
  • tr
You will be permitted to posting companies, yet not one-way links, except in cases where they can be permitted plus for issue.   Packers and Movers Faridabad to Dehradun


Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate


 

Related Topics

  Subject / Started by Replies Last post
6 Replies
7321 Views
Last post January 07, 2017, 08:33:29 PM
by vgzomega1
3 Replies
3638 Views
Last post April 16, 2017, 12:33:09 AM
by conejowolf
3 Replies
1991 Views
Last post October 12, 2018, 11:07:52 AM
by nelson
4 Replies
5342 Views
Last post July 26, 2019, 06:27:49 PM
by -Rastaa.TSM☢
0 Replies
546 Views
Last post September 17, 2019, 05:33:04 PM
by CorsarioDgx