Click here to Skip to main content
16,004,778 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CListBox, Items underline Pin
Member 130581126-Aug-04 23:46
Member 130581126-Aug-04 23:46 
GeneralRe: CListBox, Items underline Pin
rotu27-Aug-04 0:37
rotu27-Aug-04 0:37 
GeneralInstallShield Developer 7 launching multiple msi from setup/master msi Pin
TssPrasad26-Aug-04 2:14
sussTssPrasad26-Aug-04 2:14 
GeneralUnable to create a server Pin
Anonymous26-Aug-04 2:08
Anonymous26-Aug-04 2:08 
GeneralRe: Unable to create a server Pin
4apai26-Aug-04 2:25
4apai26-Aug-04 2:25 
GeneralRe: Unable to create a server Pin
Tom Wright26-Aug-04 6:41
Tom Wright26-Aug-04 6:41 
GeneralRe: Unable to create a server Pin
palbano26-Aug-04 8:36
palbano26-Aug-04 8:36 
GeneralRe: Unable to create a server Pin
Anonymous26-Aug-04 16:20
Anonymous26-Aug-04 16:20 
hi!

i'm so sorry i've wrongly quoted the client section of my code. the actual code of my server is

void CMultiAPIDlg::OnBConnect()
{
m_listensocket.Create ( m_port );
m_listensocket.Listen( ) ;
AfxMessageBox("Listening");
}

when the server is connected, the message "Listening" appears. hence, there's no problem with this part.

but when the client trys to connect, the following code was not evoked at all since i did not get the "Connected" message. the dialog box simply closes...

void mysocket::OnAccept(int nErrorCode)
{
AfxMessageBox("Connected");

if ( nErrorCode == 0 )
( ( CMultiAPIDlg* ) m_pWnd ) -> onaccept( ) ;

CSocket::OnAccept(nErrorCode);
}

and i do not have 2 instance of CMultiAPIDlg running cos i've another program named SOCK_CIENT working as a client ... Cry | :((
GeneralRe: Unable to create a server Pin
Anonymous26-Aug-04 17:04
Anonymous26-Aug-04 17:04 
GeneralRe: Unable to create a server Pin
palbano26-Aug-04 17:57
palbano26-Aug-04 17:57 
GeneralGet Token from SID Pin
4apai26-Aug-04 1:44
4apai26-Aug-04 1:44 
GeneralCLSID to char* Pin
anderslundsgard26-Aug-04 1:38
anderslundsgard26-Aug-04 1:38 
GeneralRe: CLSID to char* Pin
4apai26-Aug-04 1:48
4apai26-Aug-04 1:48 
GeneralRe: CLSID to char* Pin
anderslundsgard26-Aug-04 2:13
anderslundsgard26-Aug-04 2:13 
GeneralSave binary files in Access DB (ADO) Pin
Yaelinka26-Aug-04 1:37
Yaelinka26-Aug-04 1:37 
GeneralRe: Save binary files in Access DB (ADO) Pin
Scozturk26-Aug-04 1:53
professionalScozturk26-Aug-04 1:53 
GeneralRe: Save binary files in Access DB (ADO) Pin
Yaelinka26-Aug-04 1:55
Yaelinka26-Aug-04 1:55 
GeneralRe: Save binary files in Access DB (ADO) Pin
4apai26-Aug-04 2:11
4apai26-Aug-04 2:11 
GeneralRe: Save binary files in Access DB (ADO) Pin
Yaelinka26-Aug-04 2:18
Yaelinka26-Aug-04 2:18 
GeneralRe: Save binary files in Access DB (ADO) Pin
4apai26-Aug-04 2:35
4apai26-Aug-04 2:35 
GeneralRe: Save binary files in Access DB (ADO) Pin
Yaelinka26-Aug-04 3:56
Yaelinka26-Aug-04 3:56 
GeneralRe: Save binary files in Access DB (ADO) Pin
David Crow26-Aug-04 4:09
David Crow26-Aug-04 4:09 
QuestionGetMenuPosFromID.. wtf?? Pin
Jörgen Sigvardsson25-Aug-04 23:56
Jörgen Sigvardsson25-Aug-04 23:56 
AnswerRe: GetMenuPosFromID.. wtf?? Pin
4apai26-Aug-04 1:56
4apai26-Aug-04 1:56 
GeneralDriver Info Pin
Joel Holdsworth25-Aug-04 23:52
Joel Holdsworth25-Aug-04 23:52 

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.