Click here to Skip to main content
15,912,977 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: HELP NEEDED Pin
l a u r e n20-Nov-03 13:26
l a u r e n20-Nov-03 13:26 
Generallineear interpolation of 64 colors RGBQuads Pin
ns19-Nov-03 8:05
ns19-Nov-03 8:05 
GeneralRe: lineear interpolation of 64 colors RGBQuads Pin
Joaquín M López Muñoz19-Nov-03 8:48
Joaquín M López Muñoz19-Nov-03 8:48 
GeneralRe: lineear interpolation of 64 colors RGBQuads Pin
ns19-Nov-03 9:30
ns19-Nov-03 9:30 
GeneralIPHLPAPI.DLL + Windows 95 (yes the old one) Pin
Anonymous19-Nov-03 6:59
Anonymous19-Nov-03 6:59 
GeneralRe: IPHLPAPI.DLL + Windows 95 (yes the old one) Pin
Michael P Butler19-Nov-03 7:31
Michael P Butler19-Nov-03 7:31 
GeneralRe: IPHLPAPI.DLL + Windows 95 (yes the old one) Pin
Anonymous19-Nov-03 7:46
Anonymous19-Nov-03 7:46 
GeneralRe: IPHLPAPI.DLL + Windows 95 (yes the old one) Pin
Anonymous19-Nov-03 7:51
Anonymous19-Nov-03 7:51 
Hi
First, thanks for the fast response.
I would have thought I received 'ERROR_NOT_SUPPORTED' error back on a OS that doesn't support the API function .

I used this code to get the MAC-address:

IP_ADAPTER_INFO AdapterInfo[4]; // Allocate space for 4 NIC's
CString strMacAdres("");
DWORD dwBufLen = sizeof(AdapterInfo);
DWORD dwStatus = GetAdaptersInfo(AdapterInfo, &dwBufLen);
if ( dwStatus == ERROR_SUCCESS)
{
PIP_ADAPTER_INFO pAdapterInfo = AdapterInfo;
strMacAdres.Format("%02X-%02X-%02X-%02X-%02X-%02X",pAdapterInfo->Address[0],pAdapterInfo->Address[1],pAdapterInfo->Address[2],pAdapterInfo->Address[3],pAdapterInfo->Address[4],pAdapterInfo->Address[5]);
}

any ideas?

greetings
Jens
GeneralRe: IPHLPAPI.DLL + Windows 95 (yes the old one) Pin
David Crow19-Nov-03 8:48
David Crow19-Nov-03 8:48 
GeneralRe: IPHLPAPI.DLL + Windows 95 (yes the old one) Pin
Anonymous19-Nov-03 20:08
Anonymous19-Nov-03 20:08 
GeneralRe: IPHLPAPI.DLL + Windows 95 (yes the old one) Pin
Anonymous19-Nov-03 20:13
Anonymous19-Nov-03 20:13 
GeneralRe: IPHLPAPI.DLL + Windows 95 (yes the old one) Pin
David Crow21-Nov-03 9:11
David Crow21-Nov-03 9:11 
GeneralBug in CStringT operator= Pin
Konrad Windszus19-Nov-03 6:49
Konrad Windszus19-Nov-03 6:49 
GeneralRe: Bug in CStringT operator= Pin
Joe Woodbury19-Nov-03 9:37
professionalJoe Woodbury19-Nov-03 9:37 
GeneralRe: Bug in CStringT operator= Pin
Brian Shifrin19-Nov-03 15:35
Brian Shifrin19-Nov-03 15:35 
QuestionHow do I change the program id for a com ? Pin
WoodyMou19-Nov-03 5:19
WoodyMou19-Nov-03 5:19 
AnswerRe: How do I change the program id for a com ? Pin
valikac19-Nov-03 5:48
valikac19-Nov-03 5:48 
AnswerRe: How do I change the program id for a com ? Pin
peterchen19-Nov-03 6:47
peterchen19-Nov-03 6:47 
QuestionHow to send data to ethernet if Mac Address is known Pin
Hemant kulkarni19-Nov-03 3:32
Hemant kulkarni19-Nov-03 3:32 
AnswerRe: How to send data to ethernet if Mac Address is known Pin
David Crow19-Nov-03 5:55
David Crow19-Nov-03 5:55 
AnswerRe: How to send data to ethernet if Mac Address is known Pin
Peak19-Nov-03 9:59
Peak19-Nov-03 9:59 
GeneralTime measure Pin
chadell19-Nov-03 3:27
chadell19-Nov-03 3:27 
GeneralRe: Time measure Pin
David Crow19-Nov-03 3:31
David Crow19-Nov-03 3:31 
GeneralRe: Time measure Pin
igor196019-Nov-03 9:56
igor196019-Nov-03 9:56 
GeneralRe: Time measure Pin
David Crow19-Nov-03 10:06
David Crow19-Nov-03 10:06 

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.