getting a machine's ip address
-
Hi, i need the function to get a machine's ip address. I remember there was a simple function for this without MFC allthough it doesn't really matter if its with MFC or not. I just forgot it and cant find it anymore. So i'd be thankful if someone could tell me. Many thanks. Kuniva -------------------------------------------- God gave man a penis and a brain but not enough blood to make both of 'em work at the same time.
-
Hi, i need the function to get a machine's ip address. I remember there was a simple function for this without MFC allthough it doesn't really matter if its with MFC or not. I just forgot it and cant find it anymore. So i'd be thankful if someone could tell me. Many thanks. Kuniva -------------------------------------------- God gave man a penis and a brain but not enough blood to make both of 'em work at the same time.
Someone post this link in another post. Jon Sagara What about :bob:?
-
Hi, i need the function to get a machine's ip address. I remember there was a simple function for this without MFC allthough it doesn't really matter if its with MFC or not. I just forgot it and cant find it anymore. So i'd be thankful if someone could tell me. Many thanks. Kuniva -------------------------------------------- God gave man a penis and a brain but not enough blood to make both of 'em work at the same time.
gethostbyname() "Needless redundancy is the hobgoblin of software engineering." - Peter Darnell
-
gethostbyname() "Needless redundancy is the hobgoblin of software engineering." - Peter Darnell
erh... this is gonna sound silly but how do i convert a const char* to a CString??? I guess working with CStrings all the time has kind of killed my knowledge of chars and pointers... Thanks again for your answer. Kuniva -------------------------------------------- God gave man a penis and a brain but not enough blood to make both of 'em work at the same time.
-
erh... this is gonna sound silly but how do i convert a const char* to a CString??? I guess working with CStrings all the time has kind of killed my knowledge of chars and pointers... Thanks again for your answer. Kuniva -------------------------------------------- God gave man a penis and a brain but not enough blood to make both of 'em work at the same time.
CString strText; strText.Format(_T("%s"), szString); Marcus Make no little plans; they have no magic to stir your blood to action. Make big plans, aim high in work and hope -- Daniel Burnham
-
CString strText; strText.Format(_T("%s"), szString); Marcus Make no little plans; they have no magic to stir your blood to action. Make big plans, aim high in work and hope -- Daniel Burnham
-
erh... this is gonna sound silly but how do i convert a const char* to a CString??? I guess working with CStrings all the time has kind of killed my knowledge of chars and pointers... Thanks again for your answer. Kuniva -------------------------------------------- God gave man a penis and a brain but not enough blood to make both of 'em work at the same time.