FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour is there a Error in DrXlsx32.lib 32 Bit ?
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
is there a Error in DrXlsx32.lib 32 Bit ?
Posted: Fri Sep 20, 2024 03:34 PM
hi.

is there a Error in DrXlsx32.lib 32 Bit :?:
DrXlsx32.lib(packager.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_fill_win32_filefunc64W" in Funktion "__open_zipfile_win32".
DUALGRID.exe : fatal error LNK1120: 1 nicht aufgelöste Externe
greeting,

Jimmy
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: is there a Error in DrXlsx32.lib 32 Bit ?
Posted: Fri Sep 20, 2024 04:55 PM

Can you send me that include file, please?

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: is there a Error in DrXlsx32.lib 32 Bit ?
Posted: Sat Sep 21, 2024 01:58 AM
I am able to build MSVC 32 bit application using drxlsx32.lib without any linking problems.

I used buildh32.bat in the samples.
Uncommented this line:
Code (fw): Select all Collapse
echo %fwh%\lib\drxlsx32.lib >> msvc.tmp
Thus using drxls32.lib from \fwh\lib\ folder.

This is the test program I used and it is built without any problem and created xlsx file without any problem.
Code (fw): Select all Collapse
#include "fivewin.ch"

REQUEST DBFCDX
REQUEST DRXLSX

function Main()

   UseDrXlsx( .t. )

   XBROWSER "CUSTOMER.DBF"

return nil
Clicking on the Excel button in xbrowser, generates xlsx file using DrXlsx2.lib
Regards



G. N. Rao.

Hyderabad, India
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
Re: is there a Error in DrXlsx32.lib 32 Bit ?
Posted: Sat Sep 21, 2024 04:27 AM
hi,
nageswaragunupudi wrote:I am able to build MSVC 32 bit application using drxlsx32.lib without any linking problems.

I used buildh32.bat in the samples.
THX for Sample, but i can´t run it as i have a different Environment

my 32 bit OS is on drive X: and on C: it is 64 Bit OS
so i got a Error web try your Sample
Code (fw): Select all Collapse
X:\fwh\0\LISTVIEW>..\..\samples\buildh DRXLS
Compiling 'DRXLS.prg' and generating preprocessed output to 'DRXLS.ppo'...
fivewin.ch(57) Error F0029 Can't open #include file 'Dialog.ch'
* Compile errors *
greeting,

Jimmy
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
Re: is there a Error in DrXlsx32.lib 32 Bit ?
Posted: Sat Sep 21, 2024 11:10 AM
hi,

have now installed FWH , BCC7.7 and Harbour 32 Bit under 64 BIt OS and try again to run
Code (fw): Select all Collapse
..\..\samples\buildH DRXLS
but still fail
Turbo Incremental Link 6.97 Copyright (c) 1997-2022 Embarcadero Technologies, Inc.
Error: Unresolved external '__streams' referenced from C:\HARBOUR\LIB\WIN\BCC\HBVM.LIB|fm
Error: Unable to perform link
* Linking errors *
i have SET
Code (fw): Select all Collapse
set FWDIR=C:\FWH
set HBDIR=c:\harbour
set bcdir=c:\bcc770
and all directory exist.

is my harbour 32 Bit Version to OLD ? how to check it ?
greeting,

Jimmy
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: is there a Error in DrXlsx32.lib 32 Bit ?
Posted: Sat Sep 21, 2024 11:16 AM

You have to update [x]Harbour.

Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
Re: is there a Error in DrXlsx32.lib 32 Bit ?
Posted: Sat Sep 21, 2024 12:29 PM
hi,
Jimmy wrote:is my harbour 32 Bit Version to OLD ? how to check it ?
when start BuildH.BAT i saw this
Compiling...
Harbour 3.2.0dev (r2008190002)
is this Harbour 32 Bit Version to OLD :?:
how to get right 32 Bit Version :?:
greeting,

Jimmy
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
Re: is there a Error in DrXlsx32.lib 32 Bit ?
Posted: Sat Sep 21, 2024 12:45 PM
hi,
Jimmy wrote:how to get right 32 Bit Version :?:
is this the right 32 Bit Harbour Version ?
\Fivewin\harbour_msvc32_20230406.zip
or this Version
Harbour_builder-master\harbour_win32_msvc_2020_10_19.zip
greeting,

Jimmy
Posts: 137
Joined: Mon Oct 22, 2012 04:43 PM
Re: is there a Error in DrXlsx32.lib 32 Bit ?
Posted: Sat Sep 21, 2024 12:47 PM
Regards



Ing. Anton Lerchster
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: is there a Error in DrXlsx32.lib 32 Bit ?
Posted: Sat Sep 21, 2024 01:01 PM
alerchster wrote:https://github.com/FiveTechSoft/harbour_and_xharbour_builds/blob/master/README.md
I confirm: those are the latest Harbour builds (unofficial, made by me).
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
Re: is there a Error in DrXlsx32.lib 32 Bit ?
Posted: Sat Sep 21, 2024 02:47 PM
hi,
Enrico Maria Giordano wrote:
https://github.com/FiveTechSoft/harbour_and_xharbour_builds/blob/master/README.md
I confirm: those are the latest Harbour builds (unofficial, made by me).
i have download harbour_and_xharbour_builds-master and use harbour_bcc770_32_20240814.zip

it seems to compile, but than i still got this
hbmk2[test32]: Error: Running C/C++ compiler. -1
so NO *.EXE are build under 32 Bit OS.
greeting,

Jimmy
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: is there a Error in DrXlsx32.lib 32 Bit ?
Posted: Sat Sep 21, 2024 05:06 PM
have now installed FWH , BCC7.7 and Harbour 32 Bit under 64 BIt OS and try again to run
Code:
..\..\samples\buildH DRXLS
No please
Code (fw): Select all Collapse
cd \fwh\samples
buildh ...
Let \fwh\samples be the current\default path.
Regards



G. N. Rao.

Hyderabad, India
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
Re: is there a Error in DrXlsx32.lib 32 Bit ?
Posted: Mon Sep 23, 2024 09:37 AM
hi,
nageswaragunupudi wrote: No please
Code (fw): Select all Collapse
cd \fwh\samples
buildh ...
Let \fwh\samples be the current\default path.
i have try your Way, but FAIL
c:\fwh\samples>buildh c:\fwh\0\LISTVIEW\DRXLS.PRG
The specified PRG c:\fwh\0\LISTVIEW\DRXLS.PRG does not exist

c:\fwh\samples>dir c:\fwh\0\LISTVIEW\DRXLS.PRG
Verzeichnis von c:\fwh\0\LISTVIEW

21.09.2024 06:01 169 DRXLS.PRG
File does exist, but i get Error Message :shock:
i don´t understand any more what is going on 8)
greeting,

Jimmy
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
Re: is there a Error in DrXlsx32.lib 32 Bit ?
Posted: Mon Sep 23, 2024 10:25 AM
hi,

OK found out that the Syntax must be
Code (fw): Select all Collapse
buildh ..\0\LISTVIEW\DRXLS
without "extension", but now i get this Error
Compiling...
Harbour 3.2.0dev (r2304211101)
Copyright (c) 1999-2021, https://harbour.github.io/
Compiling '..\0\LISTVIEW\DRXLS.prg' and generating preprocessed output to '..\0\LISTVIEW\DRXLS.ppo'...
Lines 5038, Functions/Procedures 1
Generating C source output to 'DRXLS.c'... Done.
Embarcadero C++ 7.70 for Win32 Copyright (c) 1993-2023 Embarcadero Technologies, Inc.
..\0\LISTVIEW\drXLS.c:
Turbo Incremental Link 6.97 Copyright (c) 1997-2022 Embarcadero Technologies, Inc.
Error: 'C:\HARBOUR\LIB\HBHPDF.LIB' contains invalid OMF record, type 0x21 (possibly COFF)
* Linking errors *
is that still my wrong Harbour Version :?:
greeting,

Jimmy
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: is there a Error in DrXlsx32.lib 32 Bit ?
Posted: Mon Sep 23, 2024 10:28 AM

Most likely.