Check out example codes for "install c++ library windows". It will help you in understanding the concepts better.

Code Example 1

The .dll can go in any directory listed in your PATH environment variable.

The .lib file can go in any directory listed in your LIB environment variable.

The .h files can go in any directory listed in your INCLUDE environment variable.

Learn ReactJs, React Native from akashmittal.com