Click here to Skip to main content
15,895,370 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to remove a class from a projet in VC++? Pin
timbk17-Nov-09 16:31
timbk17-Nov-09 16:31 
GeneralRe: how to remove a class from a projet in VC++? Pin
Stuart Dootson17-Nov-09 20:01
professionalStuart Dootson17-Nov-09 20:01 
AnswerRe: how to remove a class from a projet in VC++? Pin
David Crow18-Nov-09 3:41
David Crow18-Nov-09 3:41 
QuestionWhere to set program name / version / copyright information in Visual Studio Pin
hongheo7617-Nov-09 11:54
hongheo7617-Nov-09 11:54 
AnswerRe: Where to set program name / version / copyright information in Visual Studio Pin
«_Superman_»17-Nov-09 12:58
professional«_Superman_»17-Nov-09 12:58 
AnswerRe: Where to set program name / version / copyright information in Visual Studio Pin
CPallini17-Nov-09 13:01
mveCPallini17-Nov-09 13:01 
GeneralRe: Where to set program name / version / copyright information in Visual Studio Pin
hongheo7618-Nov-09 16:39
hongheo7618-Nov-09 16:39 
QuestionMFC CSocketFile Pin
goutom roy17-Nov-09 10:39
goutom roy17-Nov-09 10:39 
i am making chat application .for this why i wrote the following code to receive data. now i want to know how to send data using CSocketFile and CARchive. can any one can send me the code to send data?
is it possible to send or receive following data using CSocketFile and CARchive.
" help me friend,
if u can."





BOOL CMainFrame::RetriveMessage(CServerSocket *svr_sock, CString& msg_out)
{
CSocket sock; // This thing just won't die
if ( !svr_sock->Accept(sock) )
return FALSE;
CSocketFile sockfile(&sock);
CArchive ar_in(&sockfile, CArchive::load);
CString temp;
do
{
ar_in >> temp;
msg_out += temp;
}while ( ! ar_in.IsBufferEmpty() );

CView* view = GetActiveView();
if ( NULL != view)
{
( (CImportListenerView*) view)->m_EditMsgRcv.SetWindowText(msg_out);
}
ar_in.Abort();
sockfile.Close();
sock.ShutDown(2);
sock.Close();

return TRUE;
}
QuestionRe: MFC CSocketFile Pin
CPallini17-Nov-09 11:43
mveCPallini17-Nov-09 11:43 
Questionstack and atoi Pin
khomeyni17-Nov-09 9:23
khomeyni17-Nov-09 9:23 
AnswerRe: stack and atoi Pin
«_Superman_»17-Nov-09 9:37
professional«_Superman_»17-Nov-09 9:37 
AnswerRe: stack and atoi Pin
CPallini17-Nov-09 11:41
mveCPallini17-Nov-09 11:41 
GeneralRe: stack and atoi Pin
khomeyni18-Nov-09 0:37
khomeyni18-Nov-09 0:37 
AnswerRe: stack and atoi Pin
David Crow18-Nov-09 3:44
David Crow18-Nov-09 3:44 
QuestionAcroPDF Refresh issue Pin
kasi1417-Nov-09 8:36
kasi1417-Nov-09 8:36 
QuestionIs it possible to split CView window with CSpliterWnd just like frame window? Pin
rambojanggoon17-Nov-09 8:20
rambojanggoon17-Nov-09 8:20 
QuestionCoin Change Problem Error Pin
DaliaMagdy17-Nov-09 4:51
DaliaMagdy17-Nov-09 4:51 
AnswerRe: Coin Change Problem Error Pin
mav@octaval17-Nov-09 4:59
mav@octaval17-Nov-09 4:59 
GeneralRe: Coin Change Problem Error Pin
EliottA17-Nov-09 5:27
EliottA17-Nov-09 5:27 
GeneralRe: Coin Change Problem Error Pin
LunaticFringe17-Nov-09 5:31
LunaticFringe17-Nov-09 5:31 
QuestionRe: Coin Change Problem Error Pin
Richard MacCutchan17-Nov-09 5:28
mveRichard MacCutchan17-Nov-09 5:28 
AnswerRe: Coin Change Problem Error Pin
David Crow17-Nov-09 5:51
David Crow17-Nov-09 5:51 
GeneralRe: Coin Change Problem Error Pin
Richard MacCutchan17-Nov-09 6:15
mveRichard MacCutchan17-Nov-09 6:15 
GeneralRe: Coin Change Problem Error Pin
josda100017-Nov-09 5:30
josda100017-Nov-09 5:30 
AnswerRe: Coin Change Problem Error Pin
anollipian17-Nov-09 7:02
anollipian17-Nov-09 7:02 

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.