I have been developing some dll's for use with mirc and noticed that when debugging via visual studio I get a debug output message that states:
Code
onecore\net\netprofiles\service\src\nsp\dll\namespaceserviceprovider.cpp(616)\nlansp_c.dll!725FB2B5: (caller: 769EE2B6) LogHr(1) tid(10764) 8007277C No such service is known. The service cannot be found in the specified name space.
Thanks for your bug report and the link. I haven't seen this reported when compiling in Visual Studio 2017/2022, however I have gone ahead and switched out the use of gethostname() to the method recommended in the link.