https://bugs.winehq.org/show_bug.cgi?id=48567
--- Comment #2 from Hans Leidekker hans@meelstraat.net --- (In reply to zelea2 from comment #0)
Created attachment 66389 [details] C source
This is the same bug as 40247 which was marked as "CLOSED FIXED"
All flexnet based licensing fails to work under wine because it receives a hardware MAC of 0 returned by the "lo" interface:
$ lmutil.exe lmhostid lmutil - Copyright (c) 1989-2017 Flexera Software LLC. All Rights Reserved. The FlexNet host ID of this machine is "ffffffff"
If you compile the attached C program and run it in wine you get:
$ mingw32-gcc -DMINGW -o get_mac get_mac.c -lnetapi32 $ ./get_mac.exe MAC: 000000000000
The code enumerates interfaces and takes the MAC address of the last interface. If that interface doesn't have a hardware address (e.g. a tunnel device) you get this result.