Click here to Skip to main content
15,891,704 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: header files Pin
Christian Graus15-Aug-01 12:13
protectorChristian Graus15-Aug-01 12:13 
QuestionHow to get Folder where the application is installed Pin
Francis B.15-Aug-01 11:43
Francis B.15-Aug-01 11:43 
AnswerRe: How to get Folder where the application is installed Pin
Matt Gullett15-Aug-01 11:55
Matt Gullett15-Aug-01 11:55 
AnswerRe: How to get Folder where the application is installed Pin
Quint15-Aug-01 12:03
Quint15-Aug-01 12:03 
GeneralIncrementing ActiveX version Pin
15-Aug-01 9:49
suss15-Aug-01 9:49 
GeneralNeed help on Controls Please Pin
15-Aug-01 6:35
suss15-Aug-01 6:35 
GeneralCSocket Help Pin
aarong15-Aug-01 6:31
aarong15-Aug-01 6:31 
GeneralRe: CSocket Help Pin
RobJones15-Aug-01 13:17
RobJones15-Aug-01 13:17 
Here is a sample of code I'm using and it works fine.. I am all so running windows 2k pro.. so I doubt that the OS is the problem.. If this doesnt help, I could email you the whole project I made and you can try to run it on your pc to rule out OS or what not..

void CChatDlg::OnAccept()
{
if(m_bConnected)
{
//create a rejection socket
CAsyncSocket sRjctSock;
//Acept using the rejection socket
m_sListenSocket.Accept(sRjctSock);
//Close the socket
sRjctSock.Close();
}
else
{
//Accept the connection request
m_sListenSocket.Accept(m_sConnectSocket);
//Mark the socket as connected
m_bConnected = TRUE;
UpdateData(FALSE);
}
}

Hope this helps..
Rob Jones
GeneralInstallation program Pin
Blumin Alexander15-Aug-01 5:46
Blumin Alexander15-Aug-01 5:46 
GeneralRe: Installation program Pin
Not Active15-Aug-01 9:39
mentorNot Active15-Aug-01 9:39 
GeneralRe: Installation program Pin
Blumin Alexander15-Aug-01 9:50
Blumin Alexander15-Aug-01 9:50 
GeneralRe: Installation program Pin
Derek Waters15-Aug-01 14:14
Derek Waters15-Aug-01 14:14 
GeneralSaving msdev customizing Pin
15-Aug-01 5:22
suss15-Aug-01 5:22 
GeneralRe: Saving msdev customizing Pin
Michael Dunn15-Aug-01 6:30
sitebuilderMichael Dunn15-Aug-01 6:30 
GeneralRe: Saving msdev customizing Pin
15-Aug-01 12:27
suss15-Aug-01 12:27 
Questionhow to get user group name (in Win NT)? plz Pin
jancsi15-Aug-01 5:08
jancsi15-Aug-01 5:08 
AnswerRe: how to get user group name (in Win NT)? plz Pin
Ben Burnett15-Aug-01 11:13
Ben Burnett15-Aug-01 11:13 
GeneralPlease help... Pin
15-Aug-01 4:51
suss15-Aug-01 4:51 
GeneralRe: Please help... Pin
Ulf Öhlén15-Aug-01 5:29
Ulf Öhlén15-Aug-01 5:29 
GeneralCTreeCtrl and directory listings Pin
Josh Knox15-Aug-01 4:49
Josh Knox15-Aug-01 4:49 
GeneralRe: CTreeCtrl and directory listings Pin
15-Aug-01 4:55
suss15-Aug-01 4:55 
QuestionSet color on dialog?? Pin
15-Aug-01 4:29
suss15-Aug-01 4:29 
AnswerRe: Set color on dialog?? Pin
Not Active15-Aug-01 5:39
mentorNot Active15-Aug-01 5:39 
AnswerRe: Set color on dialog?? Pin
Michael Dunn15-Aug-01 6:33
sitebuilderMichael Dunn15-Aug-01 6:33 
AnswerRe: Set color on dialog?? Pin
Quint15-Aug-01 12:17
Quint15-Aug-01 12:17 

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.