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

C / C++ / MFC

 
GeneralRe: Access Another Thread's String Stream Pin
David Crow6-Jan-04 2:41
David Crow6-Jan-04 2:41 
GeneralRe: Access Another Thread's String Stream Pin
Mike Dimmick6-Jan-04 3:56
Mike Dimmick6-Jan-04 3:56 
GeneralRe: Access Another Thread's String Stream Pin
John M. Drescher6-Jan-04 4:07
John M. Drescher6-Jan-04 4:07 
GeneralMFC 7.0 and 98 Pin
Anonymous6-Jan-04 1:49
Anonymous6-Jan-04 1:49 
GeneralRe: MFC 7.0 and 98 Pin
Nick Hodapp6-Jan-04 4:25
sitebuilderNick Hodapp6-Jan-04 4:25 
GeneralRe: MFC 7.0 and 98 Pin
Anonymous6-Jan-04 6:20
Anonymous6-Jan-04 6:20 
GeneralMap URL address to IP address Pin
Anonymous6-Jan-04 0:16
Anonymous6-Jan-04 0:16 
GeneralRe: Map URL address to IP address Pin
Imran Farooqui6-Jan-04 1:23
Imran Farooqui6-Jan-04 1:23 
You first need to resolve the URL to corresponding IP address:

struct hostent * host = gethostbyname(name);   

  if ( host == NULL )     
  {       
   AfxMessageBox("gethostbyname() failed");  
   return;  
  }
  
   struct in_addr addr;           
 
   memcpy(&addr, host->h_addr_list[0], sizeof(addr));           
			
   sprintf(m_strHost,"%s", inet_ntoa(addr));

   printf("Resolved Host is %s\n\n",m_strHost);

GeneralAdd to favorites Pin
Anonymous5-Jan-04 23:44
Anonymous5-Jan-04 23:44 
GeneralRe: Add to favorites Pin
ohadp6-Jan-04 1:11
ohadp6-Jan-04 1:11 
GeneralDeveloping a Basic Graphics Package Pin
Eldalie5-Jan-04 23:30
Eldalie5-Jan-04 23:30 
GeneralRe: Developing a Basic Graphics Package Pin
ohadp6-Jan-04 1:19
ohadp6-Jan-04 1:19 
GeneralRe: Developing a Basic Graphics Package Pin
Eldalie6-Jan-04 18:10
Eldalie6-Jan-04 18:10 
GeneralDevelopi Pin
Eldalie5-Jan-04 23:30
Eldalie5-Jan-04 23:30 
GeneralGetting key presses from MFC Pin
Anonymous5-Jan-04 23:29
Anonymous5-Jan-04 23:29 
GeneralRe: Getting key presses from MFC Pin
volkan8785-Jan-04 23:50
volkan8785-Jan-04 23:50 
GeneralRe: Getting key presses from MFC Pin
Anonymous6-Jan-04 7:10
Anonymous6-Jan-04 7:10 
GeneralHelp in MDI / VC++ needed Pin
Ruchit Sharma5-Jan-04 23:27
Ruchit Sharma5-Jan-04 23:27 
GeneralRe: Help in MDI / VC++ needed Pin
2249176-Jan-04 1:50
2249176-Jan-04 1:50 
GeneralCFont class Pin
TolTol5-Jan-04 23:26
TolTol5-Jan-04 23:26 
GeneralRe: CFont class Pin
Monty26-Jan-04 1:11
Monty26-Jan-04 1:11 
GeneralRe: CFont class Pin
TolTol6-Jan-04 4:02
TolTol6-Jan-04 4:02 
GeneralProgress control using GDI+ Pin
Steve Messer5-Jan-04 21:31
Steve Messer5-Jan-04 21:31 
Generalaquiring the size of a dialog resource Pin
luddet5-Jan-04 18:59
luddet5-Jan-04 18:59 
GeneralRe: aquiring the size of a dialog resource Pin
abc8765-Jan-04 20:30
abc8765-Jan-04 20:30 

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.