> I compile the example test.prg of hbpgsql\tests, like this:
> 
> hbmk2 test.prg-Lc:\postgresql\8.4\lib and when I run test displays the
> error:
> 
> "Error BASE/2020 Argument error: PQEXEC
> Called from PQEXEC (0)
> Called from MAIN (40)"

Thanks, these were bugs in test code. They never 
worked, but it's only now that such problems are 
detected by hbpgsql code.

> BTW, why when I try to run the test I have to copy the following dll files.
> 
> libpq.dll, krb5_32.dll, libeay32.dll, libiconv-2.dll, ssleay32.dll
> 
> If I did not copy these files to the folder hbpgsql\test, then I get errors
> like:
> 
> "Not found the ordinal 127 in the dynamic link library libpq.dll", or,

You have sort out the .dlls you use on your system.
libpq.dll must match the import lib you used when 
linking the test app and building Harbour, and the 
other dependent .dlls must match the requirements 
of lippq.dll.

Probably you have multiple of these in your .dll 
search path (PATH, local dir), hence the confusion.

Brgds,
Viktor

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to