Click here to Skip to main content
15,925,255 members
Home / Discussions / Mobile
   

Mobile

 
GeneralRe: Show Chinese, English and Portuguese in PPC emulator at the same time Pin
João Paulo Figueira8-Aug-03 1:00
professionalJoão Paulo Figueira8-Aug-03 1:00 
GeneralProblem on Dialog based program on PPC 2002 Pin
Bui Huy Kien30-Jul-03 21:54
Bui Huy Kien30-Jul-03 21:54 
GeneralRe: Problem on Dialog based program on PPC 2002 Pin
João Paulo Figueira31-Jul-03 5:59
professionalJoão Paulo Figueira31-Jul-03 5:59 
QuestionIs there a way to batch upload files to the PPC emulator? Pin
Jose M Castellanos30-Jul-03 20:59
Jose M Castellanos30-Jul-03 20:59 
GeneralActiveSync Connection problem Pin
Anonymous29-Jul-03 2:03
Anonymous29-Jul-03 2:03 
GeneralI need to write a program on a nextel ohone w/ GPS Pin
Ista28-Jul-03 16:28
Ista28-Jul-03 16:28 
GeneralRe: I need to write a program on a nextel ohone w/ GPS Pin
Ista28-Jul-03 16:29
Ista28-Jul-03 16:29 
GeneralCSocket EVC++ 3.0 problem. please help Pin
ripsi28-Jul-03 5:24
ripsi28-Jul-03 5:24 
Hi I have a weird problem that I cannot seem to figure out. It has to do with adding an OnReceive() event in a derived CSocket class. The problem is that even though I add the virtual function OnReceived into the derived class and call my main form the event won't fire. If I map a read buffer function (when I know there is data waiting to be received) I can the buffer, however, I am unable to get the event to fire. here is the virtual function:

void MySocket::OnReceive(int nErrorCode)
{
if(nErrorCode == 0){
((CSmartPDADlg*)m_pWnd)->onreceive();
//((CSmartPDADlg*)m_pWnd)->WriteLog(L"RECEIVE");
}
CSocket::OnReceive(nErrorCode);
}

Even if I put a break in the following function, it never gets called even thought it is receiving data. The onreceive() event in the main class is as follows:

void CSmartPDADlg::onreceive(){
char *buff = new char[512] ;

int size = 512 ;

int recd ;

CString recdstr ;

recd = clientSocket.Receive(buff, size ) ;
//m_log.SetWindowText((LPCTSTR)"HERE");
if ( recd == SOCKET_ERROR )

{

MessageBox( L"Error in receive ", NULL, MB_OK);
}

else
{

buff[recd] = NULL ;

recdstr = buff ;

//recdstr.
WriteLog(recdstr);
//GetProtocolTokens(recdstr);

UpdateData ( FALSE ) ;

}

}

If anyone has ran into the problem in having EVC++ 3.0 not firing CSocket OnReceive events please advise. Any help would be appreciated. Thanks!

Thanh
QuestionHow can I create an irregular region? Pin
Danney26-Jul-03 2:44
Danney26-Jul-03 2:44 
GeneralProgramming Internet Pin
Vo Sy Nam26-Jul-03 1:55
Vo Sy Nam26-Jul-03 1:55 
GeneralUSB GP Interface Pin
eagle_mvg24-Jul-03 1:39
eagle_mvg24-Jul-03 1:39 
QuestionHow to resolve this error?(using EVC4.0+sp2) Pin
Anonymous23-Jul-03 16:22
Anonymous23-Jul-03 16:22 
AnswerRe: How to resolve this error?(using EVC4.0+sp2) Pin
Cedric Moonen23-Jul-03 21:21
Cedric Moonen23-Jul-03 21:21 
Question.NET CF upgrade/patch strategy? Pin
rodent¹19-Jul-03 5:20
rodent¹19-Jul-03 5:20 
GeneralProblem registering/using dlls and activeX controls - PLZ HELP! Pin
embeddedVersuS17-Jul-03 13:17
embeddedVersuS17-Jul-03 13:17 
GeneraleVC++4.0SP2 Problem Pin
-- NA --17-Jul-03 0:09
-- NA --17-Jul-03 0:09 
GeneralRe: eVC++4.0SP2 Problem Pin
Cedric Moonen17-Jul-03 1:10
Cedric Moonen17-Jul-03 1:10 
GeneralRe: eVC++4.0SP2 Problem Pin
-- NA --17-Jul-03 1:24
-- NA --17-Jul-03 1:24 
GeneralRe: eVC++4.0SP2 Problem Pin
Atlantys17-Jul-03 18:47
Atlantys17-Jul-03 18:47 
GeneralRe: eVC++4.0SP2 Problem Pin
-- NA --23-Jul-03 1:00
-- NA --23-Jul-03 1:00 
GeneralAccess ocx file path inside ActiveX Control Pin
Anonymous16-Jul-03 23:25
Anonymous16-Jul-03 23:25 
Generalretaining focus Pin
Aroogala16-Jul-03 18:17
Aroogala16-Jul-03 18:17 
GeneralSeeking Databases Pin
Member 43417716-Jul-03 17:06
Member 43417716-Jul-03 17:06 
GeneralSetfont to menu Pin
Anonymous16-Jul-03 6:02
Anonymous16-Jul-03 6:02 
GeneralSend mail Pin
Member 159223616-Jul-03 5:58
Member 159223616-Jul-03 5:58 

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.