Edit

Share via


Linker Tools Warning LNK4237

/SUBSYSTEM:NATIVE specified when importing from 'dll'; Use /SUBSYSTEM:CONSOLE or /SUBSYSTEM:WINDOWS.

/SUBSYSTEM:NATIVE was specified when building a windows (Win32) application that directly uses one or more of the following:

  • kernel32.dll

  • gdi32.dll

  • user32.dll

  • one of the msvcrt* dlls.

Resolve this warning by not specifying /SUBSYSTEM:NATIVE.