Closed deanis74 closed 4 years ago
The MSVC solution doesn’t have any static target for a reason: it is not supported. WinSparkle is a DLL by design.
Filing an issue that you cannot do something that you’re not meant to do is weird.
In this case, you will probably want to remove this code and comment from UI::Run()
:
if ( !ms_hInstance )
{
// If DllMain() was not called, assume we're statically linked
// and use the hInstance of the containing program.
ms_hInstance = GetModuleHandle(NULL);
}
In
winsparkle.h
I have to change:to:
After that I can link statically.