'error LNK2019: unresolved external symbol __imp__GetProfilesDirectoryA@8 referenced in function' seen when building with FNP 184.108.40.206
When trying to build a Visual Studio Project based on FlexNet Publisher 220.127.116.11, this error may be seen which does not occur on 11.14.1 or earlier -
1>lmgr_trl.lib(l_prikey.obj) : error LNK2019: unresolved external symbol __imp__GetProfilesDirectoryA@8 referenced in function _kGNIok1vC
CauseThere is a new library that needs to be added, userenv.lib as confirmed by this extract from the makefile -
XTRALIB1 = $(LMSTDREDIR_LIB) $(ADDITIONAL_LIBS) oldnames.lib kernel32.lib user32.lib netapi32.lib \
gdi32.lib comdlg32.lib comctl32.lib wsock32.lib shell32.lib \
Rpcrt4.lib oleaut32.lib Ole32.lib Wbemuuid.lib wintrust.lib crypt32.lib Ws2_32.lib iphlpapi.lib Psapi.lib advapi32.lib Shlwapi.lib dhcpcsvc.lib userenv.lib
This has yet to be added to the Release Notes or Documentation.