lr_load_dll works in VuGen, but don't in Controller

In my C-web scripts I need to connect with PostgreSQL. For it I uses libpq from db distrib. In root of the script I place this dll's: kernel32.dll, libiconv-2.dll, libintl-8.dll, libeay32.dll, ssleay32.dll, libpq.dll

and in vuser_init.c loads this dlls in same order via lr_load_dll.

This run perfectly from VuGen, but in Controller this script fails with messages that it can't find libeay32.dll, ssleay32.dll and libpq.dll

"Error: C interpeter run time error: include/db/manager,h(29) Error -- File error : LoadLibrary(*) failed : ."

I tryed replace libeay32.dll and ssleay32.dll on libeay32_lt.dll and ssleay32_lt.dll which found in bin folder of LR, but remains same error for libpq.dll.

Tags: