The SQLRDD library for Harbour and MiniGUI
Moderator: Rathinagiri
Re: The SQLRDD library for Harbour and MiniGUI
Hi Friends,
More good news
I tried to rewrite the MySqlCli example of Minigui using the SQLRDD library.
You can see the result of this program in the picture below: Your feedback is welcome.
More good news
I tried to rewrite the MySqlCli example of Minigui using the SQLRDD library.
You can see the result of this program in the picture below: Your feedback is welcome.
Kind Regards,
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
-
- Posts: 44
- Joined: Tue Dec 08, 2020 11:37 am
- DBs Used: DBF,MySQL,PostgreSQL
- Location: Brasil
- Contact:
Re: The SQLRDD library for Harbour and MiniGUI
Hi All ,
For insert records into the DataBase Table(MySql) , Will DbAppend() Work This Way ? Or Will i Have To Execute a Insert into Command?
Using This SQLRDD
Greetings to All
For insert records into the DataBase Table(MySql) , Will DbAppend() Work This Way ? Or Will i Have To Execute a Insert into Command?
Using This SQLRDD
Greetings to All
Re: The SQLRDD library for Harbour and MiniGUI
Hi,
Yes, sure.
DbAppend() function works fine with SQLRDD.
For an example, see the first post in this discussion.
Kind Regards,
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
-
- Posts: 44
- Joined: Tue Dec 08, 2020 11:37 am
- DBs Used: DBF,MySQL,PostgreSQL
- Location: Brasil
- Contact:
Re: The SQLRDD library for Harbour and MiniGUI
Thank's ,
Happy New Year For EveryOne.
Happy New Year For EveryOne.
-
- Posts: 44
- Joined: Tue Dec 08, 2020 11:37 am
- DBs Used: DBF,MySQL,PostgreSQL
- Location: Brasil
- Contact:
Re: The SQLRDD library for Harbour and MiniGUI
I Got This Error When Compiling and Building The Demo Project described above With the libsqlrdd.a avaible for download here in this thread.
c:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible c:/hmg/lib-64\libsqlrdd.a when searching for -lsqlrdd
c:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lsqlrdd
I Think it might be The b4 bit Version of habour and mingw i'm using. Some kind of confilct , i don't Know.
c:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible c:/hmg/lib-64\libsqlrdd.a when searching for -lsqlrdd
c:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lsqlrdd
I Think it might be The b4 bit Version of habour and mingw i'm using. Some kind of confilct , i don't Know.
Re: The SQLRDD library for Harbour and MiniGUI
You are correct.gisjr134 wrote: ↑Sun Dec 31, 2023 7:33 pm I Got This Error When Compiling and Building The Demo Project described above With the libsqlrdd.a avaible for download here in this thread.
c:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible c:/hmg/lib-64\libsqlrdd.a when searching for -lsqlrdd
c:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lsqlrdd
I Think it might be The b4 bit Version of habour and mingw i'm using. Some kind of confilct , i don't Know.
This libsqlrdd.a file is for a 32-bit HMG, but your environment is 64-bit.
BTW I also have a 64-bit version of SQLRDD for all MiniGUI Ex donors.
For details, see viewtopic.php?p=70595#p70595.
Hope this was helpful.
Kind Regards,
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
-
- Posts: 44
- Joined: Tue Dec 08, 2020 11:37 am
- DBs Used: DBF,MySQL,PostgreSQL
- Location: Brasil
- Contact:
Re: The SQLRDD library for Harbour and MiniGUI
Hi ,
Can I Compile It in Harbour\MingW 64 Bits ? The SQLRDD ..
Can I Compile It in Harbour\MingW 64 Bits ? The SQLRDD ..
Re: The SQLRDD library for Harbour and MiniGUI
Hi,
Yes, sure.
You will need the following software:
1) the sources of the SQLRDD library have been updated to work with MySQL versions above 5.1;
2) Harbour make tool hbmk2 project file to create this library with a 64-bit version of \MingW.
That's all
Kind Regards,
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
-
- Posts: 44
- Joined: Tue Dec 08, 2020 11:37 am
- DBs Used: DBF,MySQL,PostgreSQL
- Location: Brasil
- Contact:
Re: The SQLRDD library for Harbour and MiniGUI
Hi ,
What is This Error ? Bison?
Build64 /n /b SqlRdd.Hbp
lder\xHarbour-SQLRDD\source>buildexe release
Compilando..
hbmk2: Processando opções do ambiente: -comp=mingw64
hbmk2[SqlRdd]: plugin: HB_BISONPATH not set, could not autodetect 'bison.exe'
executable
What is This Error ? Bison?
Build64 /n /b SqlRdd.Hbp
lder\xHarbour-SQLRDD\source>buildexe release
Compilando..
hbmk2: Processando opções do ambiente: -comp=mingw64
hbmk2[SqlRdd]: plugin: HB_BISONPATH not set, could not autodetect 'bison.exe'
executable
Re: The SQLRDD library for Harbour and MiniGUI
Hi,gisjr134 wrote: ↑Tue Jan 02, 2024 10:07 pm Hi ,
What is This Error ? Bison?
Build64 /n /b SqlRdd.Hbp
lder\xHarbour-SQLRDD\source>buildexe release
Compilando..
hbmk2: Processando opções do ambiente: -comp=mingw64
hbmk2[SqlRdd]: plugin: HB_BISONPATH not set, could not autodetect 'bison.exe'
executable
You should set the HB_BISONPATH environment variable to determine the path to the required bison.exe application, i.e.
SET HB_BISONPATH=%ProgramFiles%\GnuWin32\Bin
Kind Regards,
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein