is there a Error in DrXlsx32.lib 32 Bit ?

User avatar
Jimmy
Posts: 1733
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

is there a Error in DrXlsx32.lib 32 Bit ?

Post by Jimmy »

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
User avatar
nageswaragunupudi
Posts: 10691
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: is there a Error in DrXlsx32.lib 32 Bit ?

Post by nageswaragunupudi »

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: Select all | Expand

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: Select all | Expand

#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
User avatar
Jimmy
Posts: 1733
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: is there a Error in DrXlsx32.lib 32 Bit ?

Post by Jimmy »

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: Select all | Expand

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
User avatar
Jimmy
Posts: 1733
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: is there a Error in DrXlsx32.lib 32 Bit ?

Post by Jimmy »

hi,

have now installed FWH , BCC7.7 and Harbour 32 Bit under 64 BIt OS and try again to run

Code: Select all | Expand

..\..\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: Select all | Expand

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
User avatar
Jimmy
Posts: 1733
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: is there a Error in DrXlsx32.lib 32 Bit ?

Post by Jimmy »

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
User avatar
Jimmy
Posts: 1733
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: is there a Error in DrXlsx32.lib 32 Bit ?

Post by Jimmy »

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
User avatar
alerchster
Posts: 95
Joined: Mon Oct 22, 2012 4:43 pm

Re: is there a Error in DrXlsx32.lib 32 Bit ?

Post by alerchster »

Regards

Ing. Anton Lerchster
User avatar
Jimmy
Posts: 1733
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: is there a Error in DrXlsx32.lib 32 Bit ?

Post by Jimmy »

hi,
Enrico Maria Giordano wrote:
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
User avatar
nageswaragunupudi
Posts: 10691
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: is there a Error in DrXlsx32.lib 32 Bit ?

Post by nageswaragunupudi »

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: Select all | Expand

cd \fwh\samples
buildh ...
Let \fwh\samples be the current\default path.
Regards

G. N. Rao.
Hyderabad, India
User avatar
Jimmy
Posts: 1733
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: is there a Error in DrXlsx32.lib 32 Bit ?

Post by Jimmy »

hi,
nageswaragunupudi wrote: No please

Code: Select all | Expand

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
User avatar
Jimmy
Posts: 1733
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: is there a Error in DrXlsx32.lib 32 Bit ?

Post by Jimmy »

hi,

OK found out that the Syntax must be

Code: Select all | Expand

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
Post Reply