From: Gisle V. <gv...@br...> - 2012-01-11 18:21:25
|
"LRN" <lr...@gm...> wrote: > Attach the program, it's difficult to tell without seeing the minimal > program (or, at least, the pieces of code where you call > GetAdaptersAddresses() and print the results). Attached is a minimal program; checked it with MingW, MSVC (cl 16) and Watcom. Only the latter prints national characters correctly. From ip_info.exe (MingW): Information from GetAdaptersAddresses(): Adapter name: {37FC13D9-2F52-47CA-AB64-32B2B434C749} Description: NETGEAR WG111v2 54Mbps Wireless USB 2.0 Adapter #2 Friendly name: TrÕdl°s nettverkstilkobling Adapter name: {8D3A23A7-9C6C-408B-A23B-6736F9E56510} Description: Realtek PCIe GBE Family Controller Friendly name: BredbÕnd forbindelse Adapter name: {75451EE7-5145-471A-BAF5-124BE8439D10} Description: WAN (PPP/SLIP) Interface Friendly name: Strong VPN etc. Can anybody check the attached program? Build instructions inside. --gv |