I've used Dependency Walker program and found that my program misses following dll:
wlanapi.dll (+ several other dlls).
However this dll is located here:
So how can I know why the dll can not be found? Can I print "all visible to system dlls" or something like that?