Click here to Skip to main content
15,894,106 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow To Get Default Getway IP Pin
Dabara4-Jun-08 4:08
Dabara4-Jun-08 4:08 
AnswerRe: How To Get Default Getway IP Pin
David Crow4-Jun-08 4:47
David Crow4-Jun-08 4:47 
QuestionCOM Basics Pin
Aseem Sharma4-Jun-08 3:49
Aseem Sharma4-Jun-08 3:49 
AnswerRe: COM Basics Pin
led mike4-Jun-08 4:21
led mike4-Jun-08 4:21 
AnswerRe: COM Basics Pin
sudhir_Kumar4-Jun-08 5:05
sudhir_Kumar4-Jun-08 5:05 
GeneralRe: COM Basics Pin
Aseem Sharma4-Jun-08 14:21
Aseem Sharma4-Jun-08 14:21 
AnswerRe: COM Basics Pin
Hamid_RT4-Jun-08 21:14
Hamid_RT4-Jun-08 21:14 
QuestionProblem compiling the Source SDK [modified] Pin
kin37ik4-Jun-08 3:10
kin37ik4-Jun-08 3:10 
hi, well, im currently using visual studio 2003 to compile or attempt to compile a Half life 2, AKA. a source mod, but i get 2 errors and im having trouble getting rid of them so i can compile the *.dll file, i get these errors as follows:

Error C2062: Type 'void' unexpected

Error C2447: '{': missing function header (old-style formal list?)


the code seems to be correct and should work but those 3 errors are prohibiting me from compiling the *.dll file, any help would be great apreaciated.


(i have attached the small block of code that the errors point too)
//-----------------------------------------------------------------------------
CWeaponDualies( void )  //:CWeaponDualies( void )   CWeaponPistol:( void ) may cause errors
{
	m_flSoonestPrimaryAttack = gpGlobals->curtime;
	m_flAccuracyPenalty = 0.0f;

	m_fMinRange1		= 24;
	m_fMaxRange1		= 1500;
	m_fMinRange2		= 24;
	m_fMaxRange2		= 200;

	m_bFiresUnderwater	= true;
}

//-----------------------------------------------------------------------------


modified on Wednesday, June 4, 2008 9:17 AM

AnswerRe: Problem compiling the Source SDK Pin
Michael Schubert4-Jun-08 3:16
Michael Schubert4-Jun-08 3:16 
GeneralRe: Problem compiling the Source SDK Pin
kin37ik4-Jun-08 3:19
kin37ik4-Jun-08 3:19 
GeneralRe: Problem compiling the Source SDK [modified] Pin
Michael Schubert4-Jun-08 3:24
Michael Schubert4-Jun-08 3:24 
QuestionDelete subfolder Pin
mihai1234-Jun-08 2:43
mihai1234-Jun-08 2:43 
AnswerRe: Delete subfolder Pin
toxcct4-Jun-08 2:54
toxcct4-Jun-08 2:54 
AnswerRe: Delete subfolder Pin
_AnsHUMAN_ 4-Jun-08 2:56
_AnsHUMAN_ 4-Jun-08 2:56 
AnswerRe: Delete subfolder Pin
David Crow4-Jun-08 3:04
David Crow4-Jun-08 3:04 
GeneralRe: Delete subfolder Pin
mihai1234-Jun-08 3:14
mihai1234-Jun-08 3:14 
QuestionUpdateData - Out Of Memory - Serious problem Pin
Trupti Mehta4-Jun-08 2:30
Trupti Mehta4-Jun-08 2:30 
AnswerRe: UpdateData - Out Of Memory - Serious problem Pin
David Crow4-Jun-08 3:05
David Crow4-Jun-08 3:05 
GeneralRe: UpdateData - Out Of Memory - Serious problem Pin
Trupti Mehta4-Jun-08 5:12
Trupti Mehta4-Jun-08 5:12 
GeneralRe: UpdateData - Out Of Memory - Serious problem Pin
David Crow4-Jun-08 5:38
David Crow4-Jun-08 5:38 
AnswerRe: UpdateData - Out Of Memory - Serious problem Pin
Jijo.Raj4-Jun-08 3:14
Jijo.Raj4-Jun-08 3:14 
GeneralRe: UpdateData - Out Of Memory - Serious problem Pin
Trupti Mehta4-Jun-08 4:38
Trupti Mehta4-Jun-08 4:38 
GeneralRe: UpdateData - Out Of Memory - Serious problem Pin
Jijo.Raj4-Jun-08 8:30
Jijo.Raj4-Jun-08 8:30 
GeneralRe: UpdateData - Out Of Memory - Serious problem Pin
Trupti Mehta4-Jun-08 21:33
Trupti Mehta4-Jun-08 21:33 
GeneralRe: UpdateData - Out Of Memory - Serious problem Pin
Trupti Mehta4-Jun-08 21:58
Trupti Mehta4-Jun-08 21:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.