Running Pipetest but Front Panel DLL not load

The terminals prompts runs that : PipeTest.exe pipetest.bit benchmark
But then it comes out FrontPanel DLL could not be loaded.
I have my okFrontPanel.dll in the same directory. The mistakes occur due to this segament of code in c++:
printf("---- Opal Kelly ---- PipeTest Application v2.0 ----\n");
if (FALSE == okFrontPanelDLL_LoadLib(NULL)) {
printf(“FrontPanel DLL could not be loaded.\n”);
I can’t run the command but I am ok with the compling.

Is it the correct architecture DLL? You need to match the architecture (32-bit or 64-bit) of the application and the DLL.