[Help] Multiple Compiling Errors! [C++]

08/04/2011 18:39 dudezrule#1
Hi! I am new at this, so please bear with me. I got a D3D base and followed this guys' tutorial on youtube on how to make a D3D hack with ELExTrO base and simple hacks he shows you how to put in. On the second tutorial, he shows how to do all types of chams.

I have all of the stuff he wrote on my D3D, and a couple extra things, and I have 30+ compiling errors - some of which, to me, don't make sense, so I really need some help.

Thanks!
08/04/2011 20:18 buFFy!#2
i guess u forgot to post the errors, right?
08/04/2011 20:27 MoepMeep#3
c&p fail ;<
08/04/2011 20:35 dudezrule#4
Yeah, I forgot :P

Code:
1>c:\users\dustin\downloads\warrock\my hacks\elextro d3d\elextro d3d\Hacks.h(8) : error C2275: 'DWORD' : illegal use of this type as an expression
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\windef.h(152) : see declaration of 'DWORD'
1>c:\users\dustin\downloads\warrock\my hacks\elextro d3d\elextro d3d\Hacks.h(8) : error C2146: syntax error : missing ';' before identifier 'Server'
1>c:\users\dustin\downloads\warrock\my hacks\elextro d3d\elextro d3d\Hacks.h(8) : error C2065: 'Server' : undeclared identifier
1>c:\users\dustin\downloads\warrock\my hacks\elextro d3d\elextro d3d\Hacks.h(10) : error C2059: syntax error : 'if'
1>c:\users\dustin\downloads\warrock\my hacks\elextro d3d\elextro d3d\Hacks.h(11) : error C2143: syntax error : missing ';' before '{'
1>c:\users\dustin\downloads\warrock\my hacks\elextro d3d\elextro d3d\Hacks.h(24) : error C2065: 'CH_Superjump' : undeclared identifier
1>c:\users\dustin\downloads\warrock\my hacks\elextro d3d\elextro d3d\Hacks.h(26) : error C2065: 'vKey_Control' : undeclared identifier
1>c:\users\dustin\downloads\warrock\my hacks\elextro d3d\elextro d3d\Hacks.h(37) : error C2059: syntax error : '}'
1>c:\users\dustin\downloads\warrock\my hacks\elextro d3d\elextro d3d\Hacks.h(37) : error C2143: syntax error : missing ';' before '}'
1>c:\users\dustin\downloads\warrock\my hacks\elextro d3d\elextro d3d\Hacks.h(37) : error C2059: syntax error : '}'
1>c:\users\dustin\downloads\warrock\my hacks\elextro d3d\elextro d3d\Hacks.h(40) : error C2143: syntax error : missing ';' before '{'
1>c:\users\dustin\downloads\warrock\my hacks\elextro d3d\elextro d3d\Hacks.h(40) : error C2447: '{' : missing function header (old-style formal list?)
1>c:\users\dustin\downloads\warrock\my hacks\elextro d3d\elextro d3d\Hacks.h(61) : error C2059: syntax error : '}'
1>c:\users\dustin\downloads\warrock\my hacks\elextro d3d\elextro d3d\Hacks.h(61) : error C2143: syntax error : missing ';' before '}'
1>c:\users\dustin\downloads\warrock\my hacks\elextro d3d\elextro d3d\Hacks.h(61) : error C2059: syntax error : '}'
1>c:\users\dustin\downloads\warrock\my hacks\elextro d3d\elextro d3d\d3dmenu.h(17) : error C2143: syntax error : missing ';' before '{'
1>c:\users\dustin\downloads\warrock\my hacks\elextro d3d\elextro d3d\d3dmenu.h(17) : error C2447: '{' : missing function header (old-style formal list?)
1>c:\users\dustin\downloads\warrock\my hacks\elextro d3d\elextro d3d\d3dmenu.h(23) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\dustin\downloads\warrock\my hacks\elextro d3d\elextro d3d\d3dmenu.h(45) : error C2143: syntax error : missing ';' before '*'
1>c:\users\dustin\downloads\warrock\my hacks\elextro d3d\elextro d3d\d3dmenu.h(45) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\dustin\downloads\warrock\my hacks\elextro d3d\elextro d3d\d3dmenu.h(45) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\dustin\downloads\warrock\my hacks\elextro d3d\elextro d3d\d3dmenu.h(36) : error C2065: 'MENU' : undeclared identifier
1>c:\users\dustin\downloads\warrock\my hacks\elextro d3d\elextro d3d\d3dmenu.h(36) : error C2059: syntax error : ')'
1>c:\users\dustin\downloads\warrock\my hacks\elextro d3d\elextro d3d\d3dmenu.h(37) : error C2065: 'MENU' : undeclared identifier
1>c:\users\dustin\downloads\warrock\my hacks\elextro d3d\elextro d3d\d3dmenu.h(37) : error C2059: syntax error : ')'
1>c:\users\dustin\downloads\warrock\my hacks\elextro d3d\elextro d3d\d3dmenu.h(40) : error C2065: 'MENU' : undeclared identifier
1>c:\users\dustin\downloads\warrock\my hacks\elextro d3d\elextro d3d\d3dmenu.h(41) : error C2065: 'MENU' : undeclared identifier
1>.\Base.cpp(64) : error C2601: 'myPresent' : local function definitions are illegal
1>        .\Base.cpp(41): this line contains a '{' which has not yet been matched
1>.\Base.cpp(87) : error C2601: 'GenerateTexture' : local function definitions are illegal
1>        .\Base.cpp(41): this line contains a '{' which has not yet been matched
1>.\Base.cpp(111) : error C2601: 'myDrawIndexedPrimitive' : local function definitions are illegal
1>        .\Base.cpp(41): this line contains a '{' which has not yet been matched
1>.\Base.cpp(437) : error C2601: 'D3D' : local function definitions are illegal
1>        .\Base.cpp(41): this line contains a '{' which has not yet been matched
1>.\Base.cpp(460) : error C2601: 'DllMain' : local function definitions are illegal
1>        .\Base.cpp(41): this line contains a '{' which has not yet been matched
1>.\Base.cpp(468) : fatal error C1075: end of file found before the left brace '{' at '.\Base.cpp(41)' was matched
1>Build log was saved at "file://c:\Users\Dustin\Downloads\WarRock\My Hacks\ELExTrO D3D\ELExTrO D3D\Release\BuildLog.htm"
1>DraX D3D - 33 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
08/05/2011 15:11 buFFy!#5
syntax errors :> just read and fix?