Click here to Skip to main content
15,886,963 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
JokeRe: Browser Pin
Mark Salsbery24-Sep-07 8:01
Mark Salsbery24-Sep-07 8:01 
QuestionRe: Browser Pin
Hamid_RT23-Sep-07 20:53
Hamid_RT23-Sep-07 20:53 
AnswerRe: Browser Pin
saisp23-Sep-07 21:04
saisp23-Sep-07 21:04 
QuestionHow to create executable file to register an ActiveX(*.ocx) Pin
TooShy2Talk23-Sep-07 16:40
TooShy2Talk23-Sep-07 16:40 
AnswerRe: How to create executable file to register an ActiveX(*.ocx) Pin
Wes Aday23-Sep-07 17:23
professionalWes Aday23-Sep-07 17:23 
QuestionThreads Pin
ginjikun23-Sep-07 15:40
ginjikun23-Sep-07 15:40 
AnswerRe: Threads Pin
David Crow23-Sep-07 16:40
David Crow23-Sep-07 16:40 
GeneralRe: Threads Pin
ginjikun23-Sep-07 16:59
ginjikun23-Sep-07 16:59 
Hi, i am sorry i wrote just words to explain the way i have coded it. basically what i have is a class (CIPCClass) which encapsulates namedpipe functions and in the mainthread i create an instance of that class CIPCClass and when a client has connected i call the startthread of the CIPCClass to continue the receiving of message while the main thread can again continue to listen for connecting clients.

mainthread
{
CIPCClass obj;
for(; ; )
{
obj.CreatePipe();
int nRet = obj.ConnectNamedPipe();
if(nRet)
obj.StartThread();
else
break;
}
}

the above approach did not work so i created a minorthread which receives the CIPCClass. and from the minorthread then i will call the startthread. still it did not work.

hope i have explained it clear enough. sorry again.
thanks for any help.

newbie Smile | :)
GeneralRe: Threads Pin
Iain Clarke, Warrior Programmer23-Sep-07 22:30
Iain Clarke, Warrior Programmer23-Sep-07 22:30 
QuestionRe: Threads Pin
David Crow24-Sep-07 2:49
David Crow24-Sep-07 2:49 
AnswerRe: Threads Pin
Stephen Hewitt23-Sep-07 19:31
Stephen Hewitt23-Sep-07 19:31 
QuestionSimple Question (Listbox) Pin
Dane Grant23-Sep-07 12:38
Dane Grant23-Sep-07 12:38 
AnswerRe: Simple Question (Listbox) Pin
Mark Salsbery23-Sep-07 12:46
Mark Salsbery23-Sep-07 12:46 
QuestionCFormView - How to change size of a view dynamically to fit the client's frame window (without manually resizing parent window)? Pin
mfc_rookie23-Sep-07 11:16
mfc_rookie23-Sep-07 11:16 
AnswerRe: CFormView - How to change size of a view dynamically to fit the client's frame window (without manually resizing parent window)? Pin
Mark Salsbery23-Sep-07 12:56
Mark Salsbery23-Sep-07 12:56 
GeneralRe: CFormView - How to change size of a view dynamically to fit the client's frame window (without manually resizing parent window)? Pin
mfc_rookie23-Sep-07 18:09
mfc_rookie23-Sep-07 18:09 
GeneralRe: CFormView - How to change size of a view dynamically to fit the client's frame window (without manually resizing parent window)? Pin
JudyL_MD24-Sep-07 2:52
JudyL_MD24-Sep-07 2:52 
GeneralRe: CFormView - How to change size of a view dynamically to fit the client's frame window (without manually resizing parent window)? Pin
Vaclav_24-Sep-07 4:17
Vaclav_24-Sep-07 4:17 
GeneralRe: CFormView - How to change size of a view dynamically to fit the client's frame window (without manually resizing parent window)? Pin
JudyL_MD24-Sep-07 4:41
JudyL_MD24-Sep-07 4:41 
GeneralRe: CFormView - How to change size of a view dynamically to fit the client's frame window (without manually resizing parent window)? Pin
Mark Salsbery24-Sep-07 6:28
Mark Salsbery24-Sep-07 6:28 
GeneralRe: CFormView - How to change size of a view dynamically to fit the client's frame window (without manually resizing parent window)? Pin
mfc_rookie24-Sep-07 18:59
mfc_rookie24-Sep-07 18:59 
Questionhow to change sid Pin
Sudipta Mukherjee23-Sep-07 11:13
Sudipta Mukherjee23-Sep-07 11:13 
QuestionTCP stack fragments incoming data in my client/server app Pin
deerhunter8923-Sep-07 8:10
deerhunter8923-Sep-07 8:10 
AnswerRe: TCP stack fragments incoming data in my client/server app Pin
Mark Salsbery23-Sep-07 9:14
Mark Salsbery23-Sep-07 9:14 
QuestionCLI pipe io - reading/ writing simultaneously Pin
higgsbo23-Sep-07 7:50
higgsbo23-Sep-07 7:50 

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.