how to solved this error

Posts 1–7 of 7 · Page 1 of 1
Code:
#include <windows.h>


DWORD WINAPI Hacks(LPVOID)
{
	bool oneshot = false;
	while(1)
	{
		DWORD CShellBase = (DWORD)GetModuleHandleA("CShell.dll");

     
   		if(oneshot) 
         	{
           		for(int i=0 ; i<445 ; i++)
          		{
          		 *(float*)( (*(DWORD*)((*(DWORD*)(CShellBase + 0x30845C
 ))+(4*i))) + 0x7F8) = 9999999 ;
    			}
		}
	}
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
MessageBoxA(0, "This Hack was Made By Jhefreyzz ", "Successfully Injected", 0);
system("start http://mpgh.net");
CreateThread(NULL, NULL,MAIN, NULL, NULL, NULL);
}
return TRUE;
}
When i Compiled IT
this error shown
Code:
1>------ Build started: Project: WOW, Configuration: Debug Win32 ------
1>Compiling...
1>Hack.cpp
1>c:\documents and settings\joe\my documents\visual studio 2008\projects\wow\wow\hack.cpp(29) : error C2065: 'MAIN' : undeclared identifier
1>Build log was saved at "file://c:\Documents and Settings\Joe\My Documents\Visual Studio 2008\Projects\WOW\WOW\Debug\BuildLog.htm"
1>WOW - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
how to solved this one

/req to close this thread
ALREADY solved by my self
Well
You did
DWORD WINAPI Hacks(LPVOID)

So in Makethread it ahs to be:
CreateThread(NULL, NULL,Hacks, NULL, NULL, NULL);

Btw you are just a leecher /
hahahha lol ...

include iostream ?! :P
Quote Originally Posted by A$IAN View Post
Well
You did
DWORD WINAPI Hacks(LPVOID)

So in Makethread it ahs to be:
CreateThread(NULL, NULL,Hacks, NULL, NULL, NULL);

Btw you are just a leecher /
Leecher your self
remember that the code is own by swiftdude
and i edit some code because i received some errors
so you dont need say that to me that i am not a leecher
i got this

Code:
1>------ Build started: Project: DLLHACK, Configuration: Debug Win32 ------
1>Compiling...
1>DLLHACK.cpp
1>Compiling...
1>dllmain.cpp
1>Compiling manifest to resources...
1>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
1>Copyright (C) Microsoft Corporation.  All rights reserved.
1>Linking...
1>dllmain.obj : error LNK2005: _DllMain@12 already defined in DLLHACK.obj
1>C:\Users\########\Documents\Visual Studio 2008\Projects\DLLHACK\Debug\DLLHACK.dll : fatal error LNK1169: one or more multiply defined symbols found
1>Build log was saved at "file://c:\Users\######\Documents\Visual Studio 2008\Projects\DLLHACK\DLLHACK\Debug\BuildLog.htm"
1>DLLHACK - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Quote Originally Posted by Gku2 View Post
i got this

Code:
1>------ Build started: Project: DLLHACK, Configuration: Debug Win32 ------
1>Compiling...
1>DLLHACK.cpp
1>Compiling...
1>dllmain.cpp
1>Compiling manifest to resources...
1>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
1>Copyright (C) Microsoft Corporation.  All rights reserved.
1>Linking...
1>dllmain.obj : error LNK2005: _DllMain@12 already defined in DLLHACK.obj
1>C:\Users\########\Documents\Visual Studio 2008\Projects\DLLHACK\Debug\DLLHACK.dll : fatal error LNK1169: one or more multiply defined symbols found
1>Build log was saved at "file://c:\Users\######\Documents\Visual Studio 2008\Projects\DLLHACK\DLLHACK\Debug\BuildLog.htm"
1>DLLHACK - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
hey puree
could you post your code

wrap it
i check if i will helped you
Quote Originally Posted by jhefrey View Post
Leecher your self
remember that the code is own by swiftdude
and i edit some code because i received some errors
so you dont need say that to me that i am not a leecher
But u made in the other post :
onehit = true
Thats wrong ^^
You just edited some parts but they are wrong /
Posts 1–7 of 7 · Page 1 of 1

Post a Reply

Tags for this Thread

None

Talk with us