Click here to Skip to main content
15,910,785 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: VC 6 to 2005 (b2) Migration Pin
Brad Bruce21-Apr-05 0:06
Brad Bruce21-Apr-05 0:06 
GeneralRe: VC 6 to 2005 (b2) Migration Pin
PJ Arends21-Apr-05 7:32
professionalPJ Arends21-Apr-05 7:32 
GeneralRe: VC 6 to 2005 (b2) Migration Pin
Brad Bruce21-Apr-05 9:43
Brad Bruce21-Apr-05 9:43 
GeneralRe: VC 6 to 2005 (b2) Migration Pin
Sheng Jiang 蒋晟21-Apr-05 13:19
Sheng Jiang 蒋晟21-Apr-05 13:19 
GeneralDialog box wizard Pin
ben_hed20-Apr-05 4:46
sussben_hed20-Apr-05 4:46 
GeneralRe: Dialog box wizard Pin
Maximilien20-Apr-05 5:00
Maximilien20-Apr-05 5:00 
GeneralRe: Dialog box wizard Pin
benhed20-Apr-05 5:09
benhed20-Apr-05 5:09 
GeneralWinsock and MFC Pin
sweep12320-Apr-05 4:28
sweep12320-Apr-05 4:28 
I have downloaded and used:-
<big>simples.c - Simple TCP/UDP server using Winsock 1.1</big>
Now I have built and run a Client and Server Win32 Console application using this sample using my data structure. But problem with using the same code in a worker thread of a MFC application.


The following line causes problems:-
char *interface= NULL;

It generates the following errors:-
c:\ExampleDlg.cpp(214): error C2332: 'struct' : missing tag name
c:\ExampleDlg.cpp(214): error C2011: '__unnamed' : 'enum' type redefinition
c:\ExampleDlg.cpp(214): warning C4518: '__unnamed ' : storage-class or type specifier(s) unexpected here; ignored
c:\ExampleDlg.cpp(214): error C2059: syntax error : '='


Whats the solution to this problem please anyone?
GeneralRe: Winsock and MFC Pin
Manikandan20-Apr-05 5:37
Manikandan20-Apr-05 5:37 
GeneralRe: Winsock and MFC Pin
sweep12320-Apr-05 5:45
sweep12320-Apr-05 5:45 
GeneralRe: Winsock and MFC Pin
Manikandan20-Apr-05 5:51
Manikandan20-Apr-05 5:51 
GeneralRe: Winsock and MFC Pin
Tom Wright20-Apr-05 9:28
Tom Wright20-Apr-05 9:28 
GeneralLimit Bandwith using WinSock2 Pin
bigbby20-Apr-05 4:16
bigbby20-Apr-05 4:16 
GeneralRe: Limit Bandwith using WinSock2 Pin
cmk20-Apr-05 10:05
cmk20-Apr-05 10:05 
GeneralRegular DLL syntax question Pin
odiesback20-Apr-05 3:53
odiesback20-Apr-05 3:53 
GeneralRe: Regular DLL syntax question Pin
User 58385220-Apr-05 4:06
User 58385220-Apr-05 4:06 
GeneralRe: Regular DLL syntax question Pin
odiesback20-Apr-05 4:25
odiesback20-Apr-05 4:25 
GeneralRe: Regular DLL syntax question Pin
CatMan6120-Apr-05 11:26
CatMan6120-Apr-05 11:26 
GeneralAbout STN_CLICKED notification message Pin
coffeecoffee20-Apr-05 3:15
coffeecoffee20-Apr-05 3:15 
GeneralRe: About STN_CLICKED notification message Pin
James R. Twine20-Apr-05 7:54
James R. Twine20-Apr-05 7:54 
GeneralUnix Tutorials Pin
Neelesh K J Jain20-Apr-05 2:56
Neelesh K J Jain20-Apr-05 2:56 
GeneralRe: Unix Tutorials Pin
markkuk20-Apr-05 6:27
markkuk20-Apr-05 6:27 
Generalmfc filepath problem Pin
tordyvel20-Apr-05 2:47
tordyvel20-Apr-05 2:47 
GeneralRe: mfc filepath problem Pin
David Crow20-Apr-05 3:25
David Crow20-Apr-05 3:25 
GeneralRe: mfc filepath problem Pin
22491720-Apr-05 4:03
22491720-Apr-05 4:03 

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.