please: how a socket server prog can be called by MFC client??
-
Hello all.., I have to create one socket server application. In which server's prog is written in C Language and is run by CMD prompt..Now i have to develop one client prog by VC++ such that it can call that socket server's prog... So plz help me!!!!!! that how it can be possible ...and i'm also new to MFC...:(( Waiting for reply...
alpa shah
-
Hello all.., I have to create one socket server application. In which server's prog is written in C Language and is run by CMD prompt..Now i have to develop one client prog by VC++ such that it can call that socket server's prog... So plz help me!!!!!! that how it can be possible ...and i'm also new to MFC...:(( Waiting for reply...
alpa shah
-
if what u want is to run the exe from the clicent, use ShellExecute.
ShellExecute( 0, _T("open"), _T("c:\\WINDOWS\\system32\\calc") ,0,0,SW_SHOW);
un the place of c:\\WINDOWS\\system32\\calc, put the full path of ur exe.nave
Naveen R wrote:
ShellExecute( 0, _T("open"), _T("c:\\WINDOWS\\system32\\calc") ,0,0,SW_SHOW);
i believe he want to create Socket Server Program!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and You
-
Hello all.., I have to create one socket server application. In which server's prog is written in C Language and is run by CMD prompt..Now i have to develop one client prog by VC++ such that it can call that socket server's prog... So plz help me!!!!!! that how it can be possible ...and i'm also new to MFC...:(( Waiting for reply...
alpa shah
alpa shah wrote:
have to develop one client prog by VC++ such that it can call that socket server's prog... So plz help me!!!!!! that how it can be possible ...and i'm also new to MFC...:((
' Run your Socket Server Program on CMD line.. and (If you Know, or Idea about sockets) you have to to create a client program and connect to ip of your computer system and post at which socket server is listening. if you don't know the ipaddress of your computer you can use loopback ipaddress i.e. (127.0.0.1)
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and You
-
if what u want is to run the exe from the clicent, use ShellExecute.
ShellExecute( 0, _T("open"), _T("c:\\WINDOWS\\system32\\calc") ,0,0,SW_SHOW);
un the place of c:\\WINDOWS\\system32\\calc, put the full path of ur exe.nave
-
or you can use
ShellExecuteEx
_**
**_
WhiteSky