To use the nrfjprog DLL from a C/C++ application, you must load it first.
There are two methods to load the DLL: linking against the DLL when building your
application or loading the DLL at run-time.
Linking against the DLL
The easiest way to load the DLL is to link against the DLL when building your application. In this way, your application will automatically load the DLL when it starts.