[Tutorial]How To Create a D3D Base Hack *Very Good! ;)*

06/02/2011 19:39 _Raupi_#31
Hoou i wanna learn making hacks, but its so difficult :( Hope i´ll find a teacher soon ;D
06/03/2011 03:14 ~•CrystaL•~#32
I have Win 7 and if i install VC they crash can anyone help me?
07/02/2011 08:39 JusCaus#33
Full of errors on my end. Followed step by step until i hit f7 and got 8 errors right off. Any help?
07/02/2011 14:09 iDraGoN*#34
Look at the date of posting you noob.
And DODO-CRO isnt the maker of this tutorial.
Hes a f**king liar.
His name on MP*H is Dodo-CRO and not dragonattack.
07/12/2011 20:21 stanniebojj10#35
hi i love this but when i wanna build the file i get an error :Error spawning 'vcspawn.exe'. The build could not be performed. what to do????
08/03/2011 21:11 andreayeah97#36
Noob i'm the only one dragonattak of **** and my site is IGH (i cant post url, it's the name shoorted), i'm not DODONOOB
/Req delete if he doesnt give propely credits
10/24/2011 12:44 RodneyMullenCZ#37
Video tutorial! :D
12/22/2011 05:08 Synchronity#38
Thanks for the Tut Bro
01/10/2012 00:00 qwert0012341#39
sir can you help me????

Code:
// -----------------------------------------------------------------------------
// Project : HackBase v1.0
// Author  : Hans211
// Date    : 11 April 2009
//
// A basic D3D framework:
// - D3D menu with folders
// - Optimized d3dfont, right aligned text
// - Works for d3d8 or d3d9  (define it in main.h)
// -----------------------------------------------------------------------------

#include <stdio.h>
#include "stdafx.h"





char	sFPS[20]="xxx Fps";
int     CH_back       = 2;		// 40%

// group states
int		CH_cheats	  = 1;
int		CH_weap	      = 1;
int     CH_other      = 1;
// item  states
int CH_wallhack   = 1;
int CH_seeghost  = 1;
int CH_drawline = 1;
int CH_drawbox = 1;
int CH_tagname  = 1;
int CH_hpbar  = 1;
int CH_crosshair = 1;
int CH_skeleton  = 1;
int CH_fogenable  = 1;
int CH_jumphack  = 1;
int CH_norecoil  = 1;
int CH_noreload = 1;
int CH_noreloadsniper = 1;  
int CH_maxrangeweapon   = 1;
int CH_nogrenadedamage   = 1;
int CH_unlimitedammo   = 1;
int CH_respawmarea   = 1;
int CH_noflashbang  = 1;
int CH_nosmoke  = 1;
int CH_noweaponweight = 1; 
int CH_unlimitedgrenade  = 1;
int CH_attackknife  = 1;
int CH_teleport  = 1;
int CH_autoheadshot   = 1;
int CH_1hitknife   = 1;
int CH_1hitzombie   = 1;
int CH_telekill   = 1;
int CH_minispeedhack   = 1;
int CH_speedhack2   = 1;
int CH_walkthroughwall   = 1;
int CH_oneshotcashplayer = 1;  
int CH_flyhack   = 1;
int CH_maxplantc4distance   = 1;
int CH_maxdefusec4distance  = 1; 
int CH_lessc4planttime   = 1;
int CH_lessc4defusetime   = 1;
int CH_dissconnectallplayer = 1;  
int CH_gunhack  = 1;
int CH_speedhack  = 1;
int CH_shootthroughwall = 1;

// none standard options
char	*opt_Grp[]     = { "+","-" };
char	*opt_OffOn[]   = { "Off","On" };
char	*opt_Stamina[] = { "Off","Stealth","Full" };
char	*opt_Back[]    = { "Off","20%","40%","60%","80%","Solid" };
char    *opt_wallhack[]    = { "Off", "On"};


char    *opt_seeghost[]    = { "Off", "On"};


char    *opt_dawline[]    = { "Off", "On"};


char    *opt_drawbox[]    = { "Off", "On"};


char    *opt_tagname[]    = { "Off", "On"};


char    *opt_hpbar[]    = { "Off", "On"};


char    *opt_crosshair[]    = { "Off", "On"};

char    *opt_fogenable[]    = { "Off", "On"};

char    *opt_jumphack[]    = { "Off", "BT","Max"};

char    *opt_norecoil[]    = { "Off", "On"};

char    *opt_noreload[]    = { "Off", "On"};

char    *opt_noreloadsniper[]    = { "Off", "On"};

char    *opt_maxrangeweapon[]    = { "Off", "On"};

char    *opt_nogrenadedamage[]    = { "Off", "On"};

char    *opt_unlimitedammo[]    = { "Off", "On"};

char    *opt_respawnarea[]    = { "Off", "GR", "BL", "Death Position"};

char    *opt_noflashbang[]    = { "Off", "On"};

char    *opt_nosmoke[]    = { "Off", "On"};

char    *opt_noweaponweight[]    = { "Off", "On"};

char    *opt_unlimitedgrenade[]    = { "Off", "On"};

char    *opt_attackknife[]    = { "Off", "On"};

char    *opt_teleport[]    = { "Off", "On"};

char    *opt_autoheadshot[]    = { "Off", "Head","Body","Near Crosshair","Distance"};

char    *opt_1hitknife[]    = { "Off", "On"};

char    *opt_1hitzombie[]    = { "Off", "x2","On"};

char    *opt_telekill[]    = { "Off", "On"};

char    *opt_minispeedhack[]    = { "Off", "On"};

char    *opt_speedhack2[]    = { "Off", "On"};

char    *opt_walkthroughwall[]    = { "Off", "On"};

char    *opt_oneshotcashplayer[]    = { "Off", "On"};

char    *opt_shootthroughwall[]    = { "Off", "On"};

char    *opt_flyhack[]    = { "Off", "On"};

char    *opt_maxc4plantdistance[]    = { "Off", "On"};

char    *opt_maxc4defusedistance[]    = { "Off", "On"};

char    *opt_lessc4planttime[]    = { "Off", "On"};

char    *opt_lessc4defusetime[]    = { "Off", "On"};

char    *opt_disconnectallplayer[]    = { "Off", "On"};

char    *opt_gunhack[]    = { "Off", "Red Dragon AWM","Minimi","Kriss Super","Elite AK-47","DSR1-C","Barret Royal Dragon"};

char    *opt_speedhack[]    = { "Off", "0,0", "1,0", "1,5", "2,0", "2,5", "3,0", "3,5", "4,0" };






D3DMenu	;*pMenu=NULL;


// Change this to make your own menu	
void RebuildMenu(void)
{
  pMenu->AddItem("Background"        , &CH_back      , opt_Back, 6);
  pMenu->AddText("Framerate", sFPS);
 
  pMenu->AddGroup("[D3D Hacks]" , &CH_cheats, opt_Grp);
  if (CH_cheats) {
	  pMenu->AddItem("WallHack"       , &CH_seeghost  , opt_OffOn);
	  pMenu->AddItem("See Ghost"     , &CH_seeghost  , opt_OffOn);
	  pMenu->AddItem("Draw Line"   , &CH_drawline, opt_OffOn);
	  pMenu->AddItem("Draw Box"   , &CH_drawbox, opt_OffOn);
	  pMenu->AddItem("Tag Name"     , &CH_tagname  , opt_OffOn);
	  pMenu->AddItem("HP Bar"     , &CH_hpbar  , opt_OffOn);
	  pMenu->AddItem("CrossHair"     , &CH_crosshair  , opt_OffOn);
	  pMenu->AddItem("Skeleton"     , &CH_skeleton  , opt_OffOn);
	  pMenu->AddItem("Fog Enable"     , &CH_fogenable  , opt_OffOn);


  }
  pMenu->AddGroup("[Normal Hacks]", &CH_weap  , opt_Grp);
  if (CH_weap) {
	  pMenu->AddItem("Jump Hack"	 , &CH_jumphack  , opt_OffOn);
	  pMenu->AddItem("No recoil"	 , &CH_norecoil  , opt_OffOn);
	  pMenu->AddItem("No Reload", &CH_noreload   , opt_OffOn);
      pMenu->AddItem("No Reload Sniper", &CH_noreloadsniper   , opt_OffOn);
	  pMenu->AddItem("Max Range Weapon", &CH_maxrangeweapon   , opt_OffOn);
	  pMenu->AddItem("No Granade Damage", &CH_nogrenadedamage   , opt_OffOn);
	  pMenu->AddItem("Unlimited Ammo", &CH_unlimitedammo   , opt_OffOn);
	  pMenu->AddItem("Respawn Area", &CH_respawmarea   , opt_OffOn);
	  pMenu->AddItem("No Flashbang"     , &CH_flashbang  , opt_OffOn);
	  pMenu->AddItem("No Smoke"     , &CH_nosmoke  , opt_OffOn);
	  pMenu->AddItem("No Weapon Weight"     , &CH_noweaponweight  , opt_OffOn);
	  pMenu->AddItem("Unlimited Grenade"     , &CH_unlimitedgrenade  , opt_OffOn);
  }
  pMenu->AddGroup("[Super Hacks]", &CH_other  , opt_Grp);
  if (CH_other) {
	  pMenu->AddItem("Attack Knife"	 , &CH_attackknife  , opt_OffOn);
	  pMenu->AddItem("Teleport"	 , &CH_teleport  , opt_OffOn);
	  pMenu->AddItem("Auto HeadShot", &CH_autoheadshot   , opt_OffOn);
      pMenu->AddItem("1Hit Knife", &CH_1hitknife   , opt_OffOn);
	  pMenu->AddItem("1Hit Zombie", &CH_1hitzombie   , opt_OffOn);
	  pMenu->AddItem("Telekill", &CH_telekill   , opt_OffOn);
	  pMenu->AddItem("Mini SpeedHack", &CH_minispeedhack   , opt_OffOn);
	  pMenu->AddItem("SpeedHack2", &CH_speedhack2   , opt_OffOn);
	  pMenu->AddItem("Walk Though Wall", &CH_walkthroughwall   , opt_OffOn);
	  pMenu->AddItem("One Shot Cash Player", &CH_oneshotcashplayer   , opt_OffOn);
	  pMenu->AddItem("Fly Hack", &CH_flyhack   , opt_OffOn);
	  pMenu->AddItem("Max Plant C4 Distance", &CH_maxplantc4distance   , opt_OffOn);
	  pMenu->AddItem("Max Defuse C4 Distance", &CH_maxdefusec4distance   , opt_OffOn);
	  pMenu->AddItem("Less C4 Plant Time", &CH_lessc4planttime   , opt_OffOn);
	  pMenu->AddItem("Less C4 Defuse Time", &CH_lessc4defusetime   , opt_OffOn);
	  pMenu->AddItem("Dissconnect All Player", &CH_dissconnectallplayer   , opt_OffOn);
	  pMenu->AddItem("Gun Hack"     , &CH_gunhack  , opt_OffOn);
	  pMenu->AddItem("SpeedHack"     , &CH_speedhack  , opt_OffOn);
	  pMenu->AddItem("Shoot Through Wall"     , &CH_shootthroughwall  , opt_OffOn);
}
}

// --- simple FPS vars and function
int	  FPScounter = 0;
float FPSfLastTickCount = 0.0f;
float FPSfCurrentTickCount;

void FPScheck(char *str, char *format)
{
	FPSfCurrentTickCount = clock() * 0.001f;
	FPScounter++;

	if((FPSfCurrentTickCount - FPSfLastTickCount) > 1.0f) {
	    FPSfLastTickCount = FPSfCurrentTickCount;
		sprintf(str,format,FPScounter);
	    FPScounter = 0;
	} 
}

// Draw a background
void DrawGui();pD3DdeviceX pDevice, DWORD col
;{
	if (CH_back==5)					// solid
		col|=0xff000000;
	else
		col|=CH_back*0x30000000;	// transparency
	DrawBox(pDevice,pMenu->x-3,pMenu->y-2,pMenu->totwidth+6,pMenu->totheight+4  ,col);
	DrawBox(pDevice,pMenu->x-3,pMenu->y-2,pMenu->totwidth+6,pMenu->titleheight+1,col|0xff000000);
}

// called with every EndScene
void DoMenu()pD3DdeviceX pDevice
;{
	if (pMenu==0) {												// first time , create the menu
	    pMenu = new D3DMenu("== LESTER CF DXT ==",100,160);	// title, maxitems,width
		pMenu->visible=1;										// make it visible
		pMenu->col_title=0xffffffff;							// change title color to white
	} else {
		FPScheck(sFPS,"%d Fps");
		if (pMenu->noitems==0) RebuildMenu();
		if (pMenu->visible && CH_back) DrawGui(pDevice,0x000000);  // black background
	    pMenu->Show(pFont);
		pMenu->Nav();
	}
}


// Seperate thread for making hacks
DWORD WINAPI HACKthread( LPVOID param )
{
    // --- hack loop
	while (1) {
 
		if (CH_wallhack != 0)
                {
                    WallHack(CH_wallhack);
                }
 
		if (CH_seeghost != 0)
                {
                    See Ghost(CH_seeghost);
                }
 
	
		if (CH_drawline != 0)
                {
                    Draw Line(CH_drawline);
                }
 

 
		if (CH_drawbox != 0)
                {
                    Draw Box(CH_drawbox);
                }
 
	
		if (CH_tagname != 0)
                {
                    Tag Name(CH_tagname);
                }
 
	
 
		if (CH_hpbar != 0)
                {
                    HP Bar(CH_hpbar);
                }
 

 
		if (CH_crosshair != 0)
                {
                    CrossHair(CH_crosshair);
                }
 
		if (CH_skeleton != 0)
                {
                    Skeleton(CH_skeleton);
                }
 
	
 
		if (CH_fogenable != 0)
                {
                    Fog Enable(CH_fogenable);
                }
 
	
 
		if (CH_jumphack != 0)
                {
                    Jump Hack(CH_jumphack);
                }
 
	
		if (CH_norecoil != 0)
                {
                    No Recoil(CH_norecoil);
                }
 
	
 
		if (CH_noreload != 0)
                {
                    No Reload(CH_noreload);
                }
 
 
		if (CH_noreloadsniper != 0)
                {
                    No Reload Sniper(CH_noreloadsniper);
                }
 
	
 
		if (CH_maxrangeweapon != 0)
                {
                    Max Range Weapon(CH_maxrangeweapon);
                }
 
	
 
		if (CH_nogrenadedamage != 0)
                {
                    No Grenade Damage(CH_nogrenadedamage);
                }
 
	
 
		if (CH_unlimitedammo != 0)
                {
                    Unlimited Ammo(CH_unlimitedammo);
                }
 

 
		if (CH_respawnarea != 0)
                {
                    Respawn Area(CH_respawnarea);
                }
 

 
		if (CH_noflashbang != 0)
                {
                    No Flashbang(CH_noflashbang);
                }
 
	
		if (CH_nosmoke != 0)
                {
                    No Smoke(CH_nosmoke);
                }
 

 
		if (CH_noweaponweight != 0)
                {
                    No Weapon Weight(CH_noweaponweight);
                }
 
	
 
		if (CH_unlimitedgrenade != 0)
                {
                    Unlimited Grenade(CH_unlimitedgrenade);
                }
 
	
 
		if (CH_attackknife != 0)
                {
                    Attack Knife(CH_attackknife);
                }
 

 
		if (CH_teleport != 0)
                {
                    Teleport(CH_teleport);
                }
 
	
 
		if (CH_autoheadshot != 0)
                {
                    AutoHeadShot(CH_autoheadshot);
                }
 
 
		if (CH_1hitknife != 0)
                {
                    1Hit Knife(CH_1hitknife);
                }
 
	
 
		if (CH_1hitzombie != 0)
                {
                    1Hit Zombie(CH_1hitzombie);
                }
 

 
		if (CH_tellekill != 0)
                {
                    Telekill(CH_telekill);
                }
 
		if (CH_minispeedhack != 0)
                {
                    Mini SpeedHack(CH_minispeedhack);
                }
 
 
		if (CH_speedhack2 != 0)
                {
                    SpeedHack(CH_speedhack2);
                }
 

 
		if (CH_walkthroughwall != 0)
                {
                    Walk Through Wall(CH_walkthroughwall);
                }
 


 
		if (CH_1shotcashplayer != 0)
                {
                    1Shot Cash Player(CH_1shotcashplayer);
                }
 
		if (CH_flyhack != 0)
                {
                    Fly Hack(CH_flyhack);
                }

 
		if (CH_maxplantc4distance != 0)
                {
                    Max Plant C4 Distance(CH_maxplantc4distance);
                }
 

		if (CH_maxdefusec4distance != 0)
                {
                    Max Defuse C4 Distance(CH_maxdefusec4distance);
                }
 

		if (CH_lessplanttime != 0)
                {
                    Less Plant Time(CH_lessplanttime);
                }
 
	
 
		if (CH_lessdefusetime != 0)
                {
                    Less Defuse Time(CH_lessdefusetime);
                }
 
	
 
		if (CH_disconnectallplayer != 0)
                {
                    Disconnect All Player(CH_disconnectallplayer);
                }
 

		if (CH_gunhack != 0)
                {
                    Gun Hack(CH_gunhack);
                }
 
	
		if (CH_speedhack != 0)
                {
                    SpeedHack(CH_speedhack);
                }
 
	
 
		if (CH_shootthroughwall != 0)
                {
                    Shoot Through Wall(CH_shootthroughwall);
                }
 
		Sleep(50);
    }
	return 0;
}
but it give me error, what wrong in my code????

Code:
Deleting intermediate files and output files for project 'd3dhack - Win32 Release'.
--------------------Configuration: d3dhack - Win32 Release--------------------
Compiling resources...
Compiling...
StdAfx.cpp
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(162) : error C2501: 'D3DMenu' : missing storage-class or type specifiers
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(162) : error C2501: 'pMenu' : missing storage-class or type specifiers
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(168) : error C2227: left of '->AddItem' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(169) : error C2227: left of '->AddText' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(171) : error C2227: left of '->AddGroup' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(173) : error C2227: left of '->AddItem' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(174) : error C2227: left of '->AddItem' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(175) : error C2227: left of '->AddItem' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(176) : error C2227: left of '->AddItem' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(177) : error C2227: left of '->AddItem' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(178) : error C2227: left of '->AddItem' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(179) : error C2227: left of '->AddItem' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(180) : error C2227: left of '->AddItem' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(181) : error C2227: left of '->AddItem' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(185) : error C2227: left of '->AddGroup' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(187) : error C2227: left of '->AddItem' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(188) : error C2227: left of '->AddItem' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(189) : error C2227: left of '->AddItem' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(190) : error C2227: left of '->AddItem' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(191) : error C2227: left of '->AddItem' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(192) : error C2227: left of '->AddItem' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(193) : error C2227: left of '->AddItem' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(194) : error C2227: left of '->AddItem' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(195) : error C2227: left of '->AddItem' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(195) : error C2065: 'CH_flashbang' : undeclared identifier
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(196) : error C2227: left of '->AddItem' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(197) : error C2227: left of '->AddItem' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(198) : error C2227: left of '->AddItem' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(200) : error C2227: left of '->AddGroup' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(202) : error C2227: left of '->AddItem' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(203) : error C2227: left of '->AddItem' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(204) : error C2227: left of '->AddItem' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(205) : error C2227: left of '->AddItem' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(206) : error C2227: left of '->AddItem' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(207) : error C2227: left of '->AddItem' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(208) : error C2227: left of '->AddItem' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(209) : error C2227: left of '->AddItem' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(210) : error C2227: left of '->AddItem' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(211) : error C2227: left of '->AddItem' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(212) : error C2227: left of '->AddItem' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(213) : error C2227: left of '->AddItem' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(214) : error C2227: left of '->AddItem' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(215) : error C2227: left of '->AddItem' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(216) : error C2227: left of '->AddItem' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(217) : error C2227: left of '->AddItem' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(218) : error C2227: left of '->AddItem' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(219) : error C2227: left of '->AddItem' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(220) : error C2227: left of '->AddItem' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(242) : error C2146: syntax error : missing ';' before identifier 'pDevice'
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(242) : error C2501: 'pD3DdeviceX' : missing storage-class or type specifiers
C:\Program Files\Microsoft Visual Studio\MyProjects\d3dhack\hackbase.cpp(242) : fatal error C1004: unexpected end of file found
Error executing cl.exe.

d3dhack.dll - 51 error(s), 0 warning(s)
please help me about this, i know the code is not complete, please help me
02/18/2012 17:39 milbi#40
I get always a error. Here it is:

1>------ Build started: Project: D3D Crossfire, Configuration: Release Win32 ------
1>Compiling...
1>d3dmenu.cpp
1>main.h : Building for D3D9
1>..\..\..\Database\d3dmenu.cpp(63) : error C2664: 'CD3DFont::DrawTextW' : cannot convert parameter 4 from 'char *' to 'const TCHAR *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>..\..\..\Database\d3dmenu.cpp(68) : error C2664: 'CD3DFont::DrawTextW' : cannot convert parameter 4 from 'char *' to 'const TCHAR *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>..\..\..\Database\d3dmenu.cpp(70) : error C2664: 'CD3DFont::DrawTextW' : cannot convert parameter 4 from 'char *' to 'const TCHAR *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>..\..\..\Database\d3dmenu.cpp(82) : error C2664: 'CD3DFont::DrawTextW' : cannot convert parameter 4 from 'char *' to 'const TCHAR *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>..\..\..\Database\d3dmenu.cpp(84) : error C2664: 'CD3DFont::DrawTextW' : cannot convert parameter 4 from 'char *' to 'const TCHAR *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>d3dbase.cpp
1>main.h : Building for D3D9
1>e:\crossfire hack\own hack\database\d3dfont9.cpp(50) : warning C4996: 'wcsncpy': This function or variable may be unsafe. Consider using wcsncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\string.h(275) : see declaration of 'wcsncpy'
1>..\..\..\Database\d3dbase.cpp(36) : error C2664: 'CD3DFont::CD3DFont(const TCHAR *,DWORD,DWORD)' : cannot convert parameter 1 from 'const char [6]' to 'const TCHAR *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>..\..\..\Database\d3dbase.cpp(113) : error C2664: 'GetModuleHandleW' : cannot convert parameter 1 from 'const char [9]' to 'LPCWSTR'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>Build log was saved at "file://e:\Crossfire Hack\Own Hack\D3D\D3D Crossfire\D3D Crossfire\Release\BuildLog.htm"
1>D3D Crossfire - 7 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
05/28/2012 21:10 ramayudha#41
please share video tutorial :'(

:( :( :(