Wrapper for LIBXL libxlsxwriter.dll for Harbour

Issues and Discussions related to Harbour

Moderator: Rathinagiri

User avatar
serge_girard
Posts: 2484
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Has thanked: 780 times
Been thanked: 147 times
Contact:

Wrapper for LIBXL libxlsxwriter.dll for Harbour

Post by serge_girard »

Hello,

It this of interest for us? :


https://github.com/FTrautwein/hblibxlsxwriter


Serge

User avatar
mol
Posts: 3343
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 253 times
Been thanked: 155 times
Contact:

Post by mol »

I wanted to test it, but still have no time...

User avatar
bpd2000
Posts: 1139
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 233 times
Been thanked: 136 times

Post by bpd2000 »

Thank Serge for sharing link

Mol
I have tested and working fine
Setp:
1. create path for Harbour as usual
2. you need some .ch files [attached herewith] put all the files in example folder
3. to compile I used command "hmbk2 demo example.hbp
4. run the compiled file
Attachments
required_ch_files.rar
required .ch files
(30.68 KiB) Downloaded 216 times
BPD
Convert Dream into Reality through HMG

User avatar
serge_girard
Posts: 2484
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Has thanked: 780 times
Been thanked: 147 times
Contact:

Post by serge_girard »

Hi BPD,
Can you please share your test.PRG also?

Thx, Serge

User avatar
bpd2000
Posts: 1139
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 233 times
Been thanked: 136 times

Post by bpd2000 »

serge_girard wrote:
Fri Jan 13, 2017 1:30 pm
Hi BPD,
Can you please share your test.PRG also?

Thx, Serge
Sir,
I had tested all .prg located at \hblibxlsxwriter-master\example, it is with you
BPD
Convert Dream into Reality through HMG


User avatar
serge_girard
Posts: 2484
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Has thanked: 780 times
Been thanked: 147 times
Contact:

Post by serge_girard »

oops...

Tiger
Posts: 62
Joined: Mon Aug 31, 2015 11:28 am
Location: Taipei
Has thanked: 16 times
Been thanked: 13 times

Post by Tiger »

bpd2000 wrote:
Fri Jan 13, 2017 12:44 pm
Thank Serge for sharing link

Mol
I have tested and working fine
Setp:
1. create path for Harbour as usual
2. you need some .ch files [attached herewith] put all the files in example folder
3. to compile I used command "hmbk2 demo example.hbp
4. run the compiled file
Hi BPD,
I am trying to complie the demo.prg according to your instruction, but it never come out the "exe" file. I don't know what's wrong. listed below is my example.hbp file, could you take a look to it? Thanks.

xhb.hbc
-lhblibxlsxwriter
-w2 -es2 -iD:\hblibxlsxwriter\include -lhblibxlsxwriter

And I used following commands to complie the demo.prg

PATH=D:\hmg.3.4.4\HARBOUR\bin;D:\hmg.3.4.4\MINGW\bin
hbmk2 demo.prg example.hbp

Tiger
Posts: 62
Joined: Mon Aug 31, 2015 11:28 am
Location: Taipei
Has thanked: 16 times
Been thanked: 13 times

Post by Tiger »

Tiger wrote:
Fri Apr 10, 2020 10:43 am
bpd2000 wrote:
Fri Jan 13, 2017 12:44 pm
Thank Serge for sharing link

Mol
I have tested and working fine
Setp:
1. create path for Harbour as usual
2. you need some .ch files [attached herewith] put all the files in example folder
3. to compile I used command "hmbk2 demo example.hbp
4. run the compiled file
Hi BPD,
I am trying to complie the demo.prg according to your instruction, but it never come out the "exe" file. I don't know what's wrong. listed below is my example.hbp file, could you take a look to it? Thanks.

xhb.hbc
-lhblibxlsxwriter
-w2 -es2 -iD:\hblibxlsxwriter\include -lhblibxlsxwriter

And I used following commands to complie the demo.prg

PATH=D:\hmg.3.4.4\HARBOUR\bin;D:\hmg.3.4.4\MINGW\bin
hbmk2 demo.prg example.hbp
Ha HA, I found what's wrong, I removed the " -lhblibxlsxwriter " from -w2 -es2 -iD:\hblibxlsxwriter\include -lhblibxlsxwriter and it is OK now.

User avatar
bpd2000
Posts: 1139
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 233 times
Been thanked: 136 times

Post by bpd2000 »

Attached working folder
Unzip in c drive
set required path for harbour and mingw compiler
go example and run test.cmd
Attachments
hblibxlsxwriter.zip
(1.08 MiB) Downloaded 22 times
Last edited by bpd2000 on Thu Apr 16, 2020 3:13 pm, edited 1 time in total.
BPD
Convert Dream into Reality through HMG

Post Reply