Wireshark-dev: Re: [Wireshark-dev] Npcap 0.01 call for test (2nd)

From: Yang Luo <hsluoyb@xxxxxxxxx>
Date: Thu, 23 Jul 2015 11:12:44 +0800


On Thu, Jul 23, 2015 at 3:39 AM, Pascal Quantin <pascal.quantin@xxxxxxxxx> wrote:


Indeed the command output is localized. Before installing Npcap, I have:
État admin    État          Type            Nom de l'interface
-------------------------------------------------------------------------
Activé         Connecté       Dédié            Ethernet

After the installation, I have:
État admin    État          Type            Nom de l'interface
-------------------------------------------------------------------------
Activé         Connecté       Dédié            Ethernet
Activé         Connecté       Dédié            Ethernet 2

Executing manually the command netsh.exe interface set interface name="Ethernet 2" newname="Npcap Loopback Adapter"
does work.

This bug has been fixed, the causes are: 1) netsh show command returns localized string, but I used stl::string to hold it, has changed to stl:wstring. 2) "ver" command returns "version" instead of "Version" in French edition, has changed to the manifest + GetVerionEx way.

I tested it against Win10 10240 x64 (French and Chinese), try installer at:


Cheers,
Yang