Nicolas, To follow Windows rules, and also Linux rules, the code needs do nothing except of course load the DLL/library. The OS automatically searches all the possible paths.