How to use Windows SDK libraries?

Hi, I need to include a project made at the company I am working for into Unreal, I have managed to compile the whole thing as a static library (.lib) and import it into the engine.

The problem is that the project has some dependencies with some libraries from the Widnows SDK:

  • winhttp.lib
  • Bcrypt.lib
  • Crypt32.lib

Is there anyway those dependencies can be set when coding for Unreal?

When importing the libraries as dynamic instead of static the dependencies are gone since they are handled in the dll. Thus a workaround to avoid having dependencies to Windows SDK libraries is to include projects as dynamic libraries.