Results 183 comments of Kang Lin

Reserved in this PR and also needed to be used for testing. When the service that it is complete, it is deleted. At 2024-01-21 23:29:41, "Michael Jones" ***@***.***> wrote: @jonesmz...

Yes. You should test it. At 2024-01-21 23:29:02, "Michael Jones" ***@***.***> wrote: @jonesmz commented on this pull request. In src/apps/relay/windows/ServiceInstaller.cpp: > + printf("OpenSCManager failed (%lu)\n", GetLastError()); + return -1; +...

In fact, systems that are no longer supported in the last 5 years will still run on the production line. At 2024-01-21 23:27:08, "Michael Jones" ***@***.***> wrote: @jonesmz commented on...

@jonesmz The version of OS and complier is diffent the version of cmake. Operating systems that reach end of support within 5 years must be supported! If you are not...

@SuXYIO 具体如何设置?

You maybe not understand. The macro is not need defined by us .

The macro is defined by sdk. https://learn.microsoft.com/en-us/windows/win32/WinProg/using-the-windows-headers#setting-winver-or-_win32_winnt understand the note part

Only you are sure that your current sdk version greater your need sdk version. you are defined it. or you are sure that your current sdk version greater 0x7001, then...

You can make this function by CMAKE. See: https://cmake.org/cmake/help/latest/variable/CMAKE_GENERATOR_TOOLSET.html#variable:CMAKE_GENERATOR_TOOLSET https://cmake.org/cmake/help/latest/variable/CMAKE_GENERATOR_PLATFORM.html#variable:CMAKE_GENERATOR_PLATFORM

Yes. This you said can be done with the cmake configuration parameter