Timeline for Get MAC address on Windows [closed]
Current License: CC BY-SA 4.0
19 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 12, 2025 at 9:55 | history | rollback | gre_gor |
Rollback to Revision 5
|
|
| Feb 12, 2025 at 2:07 | history | edited | Mạnh Đỗ Duy | CC BY-SA 4.0 |
deleted 1227 characters in body
|
| Feb 11, 2025 at 7:37 | history | closed |
Tangentially Perpendicular Remy Lebeau gnat |
Not suitable for this site | |
| Feb 11, 2025 at 6:06 | comment | added | Mạnh Đỗ Duy | Thank all for your help! | |
| Feb 11, 2025 at 6:05 | vote | accept | Mạnh Đỗ Duy | ||
| Feb 11, 2025 at 6:02 | answer | added | Remy Lebeau | timeline score: 1 | |
| Feb 11, 2025 at 6:00 | comment | added | Mạnh Đỗ Duy | yes. It occurs when compiling my code | |
| Feb 11, 2025 at 5:58 | comment | added | user207421 | You are ;facing an error' when compiling your code. | |
| Feb 11, 2025 at 5:57 | history | edited | user207421 |
Edited tags.
|
|
| Feb 11, 2025 at 5:56 | history | edited | Remy Lebeau | CC BY-SA 4.0 |
added 16 characters in body
|
| Feb 11, 2025 at 5:52 | comment | added | Mạnh Đỗ Duy | I tried commenting out mac_address = macAddressToString(pAdapterInfo->Address); and the code worked well. Thanks for your help! I've also added the error message. | |
| Feb 11, 2025 at 5:49 | history | edited | John Kugelman | CC BY-SA 4.0 |
deleted 8 characters in body; edited title
|
| Feb 11, 2025 at 5:45 | history | edited | Mạnh Đỗ Duy | CC BY-SA 4.0 |
added 1254 characters in body
|
| Feb 11, 2025 at 5:07 | review | Close votes | |||
| Feb 11, 2025 at 7:38 | |||||
| Feb 11, 2025 at 4:48 | comment | added | Tangentially Perpendicular | If you're seeing an error message, post the complete text of the message in your question. Many things could be wrong here, but you're making us guess. | |
| Feb 11, 2025 at 4:41 | comment | added | Pepijn Kramer |
Have you tried debugging yet? And checked that all your pointer and return values are what you would expect? pAdapterInfo = pAdapterInfo->Next; this looks suspicious, since you only have room in your buffer for one entry DWORD bufLen = sizeof(adapterInfo); not 16
|
|
| Feb 11, 2025 at 4:28 | comment | added | Mạnh Đỗ Duy | Thank you for the link. However, I just want to return the MAC address as a string, and I don't understand why the error occurs at the line where the function is invoked: mac_address = macAddressToString(pAdapterInfo->Address); | |
| Feb 11, 2025 at 3:55 | comment | added | Pepijn Kramer | Side node : If all you need is some unique number, you might want to have a look at : stackoverflow.com/questions/1327157/…. That mechanism stopped using MAC addresses because it left traces in the generated key. | |
| Feb 11, 2025 at 3:49 | history | asked | Mạnh Đỗ Duy | CC BY-SA 4.0 |