Click here to Skip to main content
15,916,378 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to activate some choosen thread? Pin
Mikey_E20-Aug-03 7:44
professionalMikey_E20-Aug-03 7:44 
GeneralRe: How to activate some choosen thread? Pin
vgrigor20-Aug-03 20:32
vgrigor20-Aug-03 20:32 
Generalhelp with a TCP Program that sends messages Pin
Jay Hova18-Aug-03 1:55
Jay Hova18-Aug-03 1:55 
GeneralRe: help with a TCP Program that sends messages Pin
Alexander M.,18-Aug-03 1:58
Alexander M.,18-Aug-03 1:58 
GeneralRe: help with a TCP Program that sends messages Pin
Jay Hova18-Aug-03 2:04
Jay Hova18-Aug-03 2:04 
GeneralRe: help with a TCP Program that sends messages Pin
Alexander M.,18-Aug-03 2:07
Alexander M.,18-Aug-03 2:07 
GeneralRe: help with a TCP Program that sends messages Pin
Jay Hova18-Aug-03 2:12
Jay Hova18-Aug-03 2:12 
GeneralRe: help with a TCP Program that sends messages Pin
Brian Delahunty18-Aug-03 2:53
Brian Delahunty18-Aug-03 2:53 
I presume that you are declaring an instance of the "formatting" class inside the class with the "working" socket???

If you are just add a socket variable to the formatting class and overload the constructor of the formatting class so that when you are creating the formatting class object just do somerhign like this:
MyFormatClass mfc = new MyFormatClass(socket);

Or else you could make the socket variable in the format class public and just set it like:
MyFormatClass mfc;<br>mfc.socketvar = this.socket;


But without knowing more about your code and the way your classes work/interact I can't give a definite answer.

Regards,
Brian Dela Smile | :)

http://www.briandela.com[^]
GeneralRe: help with a TCP Program that sends messages Pin
Jay Hova18-Aug-03 3:14
Jay Hova18-Aug-03 3:14 
GeneralRe: help with a TCP Program that sends messages Pin
Brian Delahunty18-Aug-03 3:18
Brian Delahunty18-Aug-03 3:18 
GeneralNewbie: WebService,DIME, C# into C++ Pin
adaoja18-Aug-03 1:35
adaoja18-Aug-03 1:35 
GeneralScanf() in C graphic library Pin
berk_atabek18-Aug-03 1:20
berk_atabek18-Aug-03 1:20 
GeneralRe: Scanf() in C graphic library Pin
Alexander M.,18-Aug-03 2:00
Alexander M.,18-Aug-03 2:00 
GeneralMFC and std namespace-beginner question Pin
7stud18-Aug-03 0:42
7stud18-Aug-03 0:42 
GeneralRe: MFC and std namespace-beginner question Pin
Alexandru Savescu18-Aug-03 0:49
Alexandru Savescu18-Aug-03 0:49 
GeneralRe: MFC and std namespace-beginner question Pin
7stud18-Aug-03 1:14
7stud18-Aug-03 1:14 
GeneralRe: MFC and std namespace-beginner question Pin
hiseldl18-Aug-03 8:15
hiseldl18-Aug-03 8:15 
GeneralRe: MFC and std namespace-beginner question Pin
7stud18-Aug-03 10:52
7stud18-Aug-03 10:52 
GeneralRe: MFC and std namespace-beginner question Pin
Hosam Aly Mahmoud19-Aug-03 6:02
Hosam Aly Mahmoud19-Aug-03 6:02 
GeneralRe: MFC and std namespace-beginner question Pin
7stud19-Aug-03 18:15
7stud19-Aug-03 18:15 
GeneralRe: MFC and std namespace-beginner question Pin
Hosam Aly Mahmoud19-Aug-03 20:50
Hosam Aly Mahmoud19-Aug-03 20:50 
Generalgetting System time Pin
Emiliano18-Aug-03 0:41
Emiliano18-Aug-03 0:41 
GeneralRe: getting System time Pin
Alexandru Savescu18-Aug-03 0:54
Alexandru Savescu18-Aug-03 0:54 
GeneralRe: getting System time Pin
Alexander M.,18-Aug-03 1:58
Alexander M.,18-Aug-03 1:58 
GeneralRe: getting System time Pin
Anonymous18-Aug-03 4:30
Anonymous18-Aug-03 4:30 

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.