Click here to Skip to main content
15,903,362 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questioncan any one help me!! Pin
nanaolay6-Apr-06 12:26
nanaolay6-Apr-06 12:26 
AnswerRe: can any one help me!! Pin
Lord Kixdemp6-Apr-06 13:07
Lord Kixdemp6-Apr-06 13:07 
AnswerRe: can any one help me!! Pin
Trollslayer6-Apr-06 13:28
mentorTrollslayer6-Apr-06 13:28 
QuestionHELP!! Include files need each other! Pin
Lord Kixdemp6-Apr-06 11:34
Lord Kixdemp6-Apr-06 11:34 
AnswerRe: HELP!! Include files need each other! Pin
Xing Chen6-Apr-06 15:37
Xing Chen6-Apr-06 15:37 
AnswerRe: HELP!! Include files need each other! Pin
Saurabh.Garg6-Apr-06 15:41
Saurabh.Garg6-Apr-06 15:41 
AnswerRe: HELP!! Include files need each other! Pin
John R. Shaw6-Apr-06 15:56
John R. Shaw6-Apr-06 15:56 
GeneralRe: HELP!! Include files need each other! Pin
Lord Kixdemp6-Apr-06 16:49
Lord Kixdemp6-Apr-06 16:49 
Alright... I put a prototype at the beginning of SocketHandling.h for T_UserThread(...), then I put the function in server.cpp and Globals.h, and now I get these errors: Frown | :(

Globals.h(30): error C2065: 'network' : undeclared identifier<br />
Globals.h(30): error C2065: 'network' : undeclared identifier<br />
Globals.h(30): error C2228: left of '.UserThread' must have class/struct/union type<br />
        type is ''unknown-type''<br />
Globals.h(30): error C2228: left of '.UserThread' must have class/struct/union type<br />
        type is ''unknown-type''<br />
server.cpp(48): error C2084: function 'int T_UserThread(void *)' already has a body<br />
server.cpp(50): error C2228: left of '.UserThread' must have class/struct/union type<br />
        type is ''unknown-type''<br />
server.cpp(50): error C3861: 'network': identifier not found, even with argument-dependent lookup<br />
server.cpp(60): error C2228: left of '.Start' must have class/struct/union type<br />
        type is ''unknown-type''<br />
server.cpp(60): error C3861: 'network': identifier not found, even with argument-dependent lookup<br />
server.cpp(75): error C2228: left of '.FindConnections' must have class/struct/union type<br />
        type is ''unknown-type''<br />
server.cpp(75): error C3861: 'network': identifier not found, even with argument-dependent lookup<br />
SocketHandling.cpp(194): warning C4312: 'type cast' : conversion from 'long' to 'char *' of greater size<br />
SocketHandling.cpp(199): warning C4312: 'type cast' : conversion from 'long' to 'char *' of greater size<br />
SocketHandling.h(65): error C2371: 'network' : redefinition; different basic types<br />
SocketHandling.h(65): error C2371: 'network' : redefinition; different basic types


What am I doing wrong? Thanks! Wink | ;-)

BTW: I updated the files.

Lord Kixdemp
www.SulfurMidis.com
www.SulfurSoft.tk
[ftp://][http://][hotline://]tsfc.ath.cx
GeneralRe: HELP!! Include files need each other! Pin
John R. Shaw6-Apr-06 18:39
John R. Shaw6-Apr-06 18:39 
GeneralRe: HELP!! Include files need each other! Pin
John R. Shaw6-Apr-06 18:55
John R. Shaw6-Apr-06 18:55 
AnswerRe: HELP!! Include files need each other! Pin
includeh106-Apr-06 16:45
includeh106-Apr-06 16:45 
AnswerRe: HELP!! Include files need each other! Pin
Ryan Binns6-Apr-06 18:22
Ryan Binns6-Apr-06 18:22 
GeneralRe: HELP!! Include files need each other! Pin
John R. Shaw6-Apr-06 19:11
John R. Shaw6-Apr-06 19:11 
GeneralRe: HELP!! Include files need each other! Pin
Ryan Binns6-Apr-06 19:52
Ryan Binns6-Apr-06 19:52 
GeneralRe: HELP!! Include files need each other! Pin
John R. Shaw6-Apr-06 20:34
John R. Shaw6-Apr-06 20:34 
GeneralRe: HELP!! Include files need each other! Pin
Ryan Binns6-Apr-06 23:20
Ryan Binns6-Apr-06 23:20 
GeneralRe: HELP!! Include files need each other! Pin
Blake Miller7-Apr-06 4:21
Blake Miller7-Apr-06 4:21 
GeneralRe: HELP!! Include files need each other! Pin
Lord Kixdemp10-Apr-06 15:02
Lord Kixdemp10-Apr-06 15:02 
GeneralRe: HELP!! Include files need each other! Pin
Blake Miller11-Apr-06 4:29
Blake Miller11-Apr-06 4:29 
GeneralRe: HELP!! Include files need each other! Pin
Lord Kixdemp11-Apr-06 16:49
Lord Kixdemp11-Apr-06 16:49 
GeneralRe: HELP!! Include files need each other! Pin
Blake Miller12-Apr-06 4:29
Blake Miller12-Apr-06 4:29 
GeneralRe: HELP!! Include files need each other! Pin
Lord Kixdemp13-Apr-06 16:21
Lord Kixdemp13-Apr-06 16:21 
Questiontype conversions Pin
arr.cpp6-Apr-06 11:20
arr.cpp6-Apr-06 11:20 
AnswerRe: type conversions Pin
Lord Kixdemp6-Apr-06 13:04
Lord Kixdemp6-Apr-06 13:04 
AnswerRe: type conversions Pin
Waldermort6-Apr-06 18:57
Waldermort6-Apr-06 18:57 

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.