Loading the DLL

nRF Command Line Tools

To use the nrfjprog DLL from a C or 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.