Click here to Skip to main content
15,887,596 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionChange dialog unit Pin
includeh105-Jun-09 16:14
includeh105-Jun-09 16:14 
AnswerRe: Change dialog unit Pin
enhzflep5-Jun-09 21:31
enhzflep5-Jun-09 21:31 
QuestionCDockablePane::Create Cant Find Defs for dwStyle, dwTabbedStyle, dwControlBarStyle Pin
dougwilliams5-Jun-09 10:32
dougwilliams5-Jun-09 10:32 
QuestionSoftware Integration Pin
CodingYoshi5-Jun-09 9:43
CodingYoshi5-Jun-09 9:43 
QuestionRe: Software Integration Pin
David Crow5-Jun-09 10:32
David Crow5-Jun-09 10:32 
AnswerRe: Software Integration Pin
ThatsAlok5-Jun-09 21:05
ThatsAlok5-Jun-09 21:05 
GeneralRe: Software Integration Pin
CodingYoshi8-Jun-09 3:28
CodingYoshi8-Jun-09 3:28 
QuestionSocket Help!!! Pin
reddy075-Jun-09 9:40
reddy075-Jun-09 9:40 
Hi I am trying to create a server that would accept and receive message from multiple client. But i am receiving SOCKET_ERROR while my server seems to accept the multiple connection. Could anyone correct my code.
Here is the code I wrote..
CMysocket m_sListenSocket;
<pre>void CLocalDlg::OnAccept(void)
{
CMysocket *pSocket = new CMysocket;
if(m_sListenSocket.Accept(*pSocket))
MessageBox("Connection Accepted");
}

For receiving:
<pre>void CLocalDlg::OnReceive(void)
{

CMysocket *pSocket = new CMysocket;

char *pBuff = new char[1024];
int stlen = 1025;
int iRcvd;
iRcvd = pSocket->Receive(pBuff, stlen);
if(iRcvd ==SOCKET_ERROR)
MessageBox("Received socket error");
else
MessageBox("Message Received properly");
}
QuestionRe: Socket Help!!! Pin
David Crow5-Jun-09 10:35
David Crow5-Jun-09 10:35 
AnswerRe: Socket Help!!! Pin
reddy075-Jun-09 11:11
reddy075-Jun-09 11:11 
AnswerRe: Socket Help!!! Pin
Troy Russell5-Jun-09 13:04
Troy Russell5-Jun-09 13:04 
QuestionHow to create your own framework Pin
Stifly5-Jun-09 7:23
Stifly5-Jun-09 7:23 
AnswerRe: How to create your own framework Pin
Rajesh R Subramanian5-Jun-09 7:31
professionalRajesh R Subramanian5-Jun-09 7:31 
GeneralHow to create your own framework Pin
Stifly5-Jun-09 7:57
Stifly5-Jun-09 7:57 
GeneralRe: How to create your own framework Pin
led mike5-Jun-09 9:05
led mike5-Jun-09 9:05 
GeneralRe: How to create your own framework Pin
Stifly5-Jun-09 9:18
Stifly5-Jun-09 9:18 
GeneralRe: How to create your own framework Pin
CodingYoshi5-Jun-09 10:04
CodingYoshi5-Jun-09 10:04 
GeneralRe: How to create your own framework Pin
Stifly6-Jun-09 3:23
Stifly6-Jun-09 3:23 
GeneralRe: How to create your own framework Pin
led mike5-Jun-09 11:54
led mike5-Jun-09 11:54 
QuestionCombo box in CListCtrl Pin
bhanu_85095-Jun-09 5:53
bhanu_85095-Jun-09 5:53 
AnswerRe: Combo box in CListCtrl Pin
Stuart Dootson5-Jun-09 8:22
professionalStuart Dootson5-Jun-09 8:22 
GeneralRe: Combo box in CListCtrl Pin
bhanu_85096-Jun-09 1:10
bhanu_85096-Jun-09 1:10 
QuestionIf my main dialog is minimized, how can I flash on taskbar to notify the user that my program wants attention? Pin
sashoalm5-Jun-09 5:16
sashoalm5-Jun-09 5:16 
AnswerRe: If my main dialog is minimized, how can I flash on taskbar to notify the user that my program wants attention? Pin
Code-o-mat5-Jun-09 5:41
Code-o-mat5-Jun-09 5:41 
GeneralRe: If my main dialog is minimized, how can I flash on taskbar to notify the user that my program wants attention? Pin
sashoalm6-Jun-09 3:39
sashoalm6-Jun-09 3:39 

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.