Page 5 of 6
Re: PostgreSQL native from Phil Ide
Posted: Wed Sep 27, 2017 9:22 am
by hz_scotty
now it is ok
Re: PostgreSQL native from Phil Ide
Posted: Thu May 17, 2018 5:31 am
by fransm
Hi Nolberto,
I am getting a reserved keyword error when I compile the last version of yours.
It is not happy with the dccombobox command.
Can you please assist
regards
Frans
Re: PostgreSQL native from Phil Ide
Posted: Thu May 17, 2018 6:02 am
by rdonnay
It is not happy with the dccombobox command.
DCCOMBOBOX is an eXpress++ command in DCDIALOG.CH.
Re: PostgreSQL native from Phil Ide
Posted: Mon May 21, 2018 3:36 am
by fransm
Hi Roger,
Thanks for the reply..
I found the problem. Wasn't looking properly.
However over the weekend I was stuck with an issue I could not resolve.
When compiling a dll and I include the XBPGSQL.LIB in the xpj file, I get a error "DLL couldn't be loaded", when trying to run a routine in the dll. If I remove the XBPGSQL.LIB then everything is fine except for the unresolved symbol errors. There is just something when compiling with this lib included that prevents the dll being loaded. Did Nolberto designed it this way, or am I missing something. ?
regards
Frans
Re: PostgreSQL native from Phil Ide
Posted: Mon May 21, 2018 7:39 am
by rdonnay
What version of Xbase++ are you using?
Is Nolberto's DLL compiled with the same version?
You should try to load his dll with CHK4DLL.EXE or DLLINFO.EXE.
Re: PostgreSQL native from Phil Ide
Posted: Mon May 21, 2018 11:30 pm
by fransm
Hi Roger,
I have no idea what version Nolberto used
I am using xbase++ 1.90.355
I ran dllinfo with the following results.
type xbase++ , unloadable
imported DLLs
ot4xb.dll
xpprt1.dll
xppdbgc.dll
I suppose this explains why I am having problems loading the dll.
I also ran chk4dll with the following results
ot4xb.dll -> can be loaded
xpprt1.dll -> can be loaded
xppdbgc.dll -> can be loaded
Is there perhaps a loadable dll available somewhere >
regards
Frans
Re: PostgreSQL native from Phil Ide
Posted: Tue May 22, 2018 7:30 am
by Auge_Ohr
fransm wrote:I get a error "DLL couldn't be loaded", when trying to run a routine in the dll.
what Version of PostgreSQL is installed 32bit or 64bit
the Msg is IMHO because PostgreSQL libpq.dll
Re: PostgreSQL native from Phil Ide
Posted: Wed May 23, 2018 12:20 am
by fransm
Hi Jimmy
I am running a windows 2003 server x64
Postgres is ver 9.4 x32
regards
Frans
Re: PostgreSQL native from Phil Ide
Posted: Wed May 23, 2018 9:01 am
by Auge_Ohr
fransm wrote:Postgres is ver 9.4 x32
32bit DLL are ok.
have you copy x:\Program Files\PostgreSQL\9.4\bin\*.DLL into your Xbase++ App Directory
Re: PostgreSQL native from Phil Ide
Posted: Thu May 24, 2018 7:21 am
by fransm
Hi Jimmy
I still get the same error.
Strange that his demo works without any problems, but as soon as I include the xbpgsql.lib in my project file I get the error "dll couldn't be loaded". The dllinfo.exe app also returns the message that the dll is unloadable
The fact that the demo runs, means that the dll must be loading. I don't have a cooking clue what is going on here.
Can Nolberto be contacted? Maybe he would be so kind as to assist.
regards
Frans