D3D Base problem!
Hey guys, whenever i put my D3d Base together i get an error message! This is my Base completed please do not copy the base!
The error message is this:
HELP ME PLEASE!
#include <windows.h>
#include <iostream>
using namespace std;
DWORD CShellBase = (DWORD)GetModuleHandleA("CShell.dll");
void main() {
Sleep(1000);
}
DWORD WINAPI Main(LPVOID) {
while(GetModuleHandleA("CShell.dll") == NULL ) {
Sleep(150);
}
bool onehitkill = true;
bool NoReload = true;
if(onehitkill){
for(int i=0 ; i<445 ; i++){
*(float*)( (*(DWORD*)((*(DWORD*)(dwCShell+0x30845C))+(4*i))) + 0x07F8) = (float)999999999;
}
}
if (NoReload)
{
for (int i = 0; i < 445; i++)
{
*(float*)( (*(DWORD*)((*(DWORD*)(dwCShell+0x30845C))+(4*i))) + 0x07F8) = 0.0f;
}
}
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ) {
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH ) {
MessageBoxA(0, "SmartGold **HACKER** Hack.", "CrossFire Hack Z8games", 0);
}
return true;
}
#include <iostream>
using namespace std;
DWORD CShellBase = (DWORD)GetModuleHandleA("CShell.dll");
void main() {
Sleep(1000);
}
DWORD WINAPI Main(LPVOID) {
while(GetModuleHandleA("CShell.dll") == NULL ) {
Sleep(150);
}
bool onehitkill = true;
bool NoReload = true;
if(onehitkill){
for(int i=0 ; i<445 ; i++){
*(float*)( (*(DWORD*)((*(DWORD*)(dwCShell+0x30845C))+(4*i))) + 0x07F8) = (float)999999999;
}
}
if (NoReload)
{
for (int i = 0; i < 445; i++)
{
*(float*)( (*(DWORD*)((*(DWORD*)(dwCShell+0x30845C))+(4*i))) + 0x07F8) = 0.0f;
}
}
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ) {
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH ) {
MessageBoxA(0, "SmartGold **HACKER** Hack.", "CrossFire Hack Z8games", 0);
}
return true;
}
1>------ Build started: Project: SmartGold Pub v1, Configuration: Debug Win32 ------
1>LINK : error LNK2001: unresolved external symbol __DllMainCRTStartup@12
1>C:\Users\samuel\Documents\Visual Studio 2010\Projects\SmartGold Pub v1\Debug\SmartGold Pub v1.dll : fatal error LNK1120: 1 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
1>LINK : error LNK2001: unresolved external symbol __DllMainCRTStartup@12
1>C:\Users\samuel\Documents\Visual Studio 2010\Projects\SmartGold Pub v1\Debug\SmartGold Pub v1.dll : fatal error LNK1120: 1 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========



