Page 1 of 2

is there a Error in DrXlsx32.lib 32 Bit ?

Posted: Fri Sep 20, 2024 3:34 pm
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

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

Posted: Fri Sep 20, 2024 4:55 pm
by Enrico Maria Giordano
Can you send me that include file, please?

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

Posted: Sat Sep 21, 2024 1:58 am
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

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

Posted: Sat Sep 21, 2024 4:27 am
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 *

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

Posted: Sat Sep 21, 2024 11:10 am
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 ?

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

Posted: Sat Sep 21, 2024 11:16 am
by Enrico Maria Giordano
You have to update [x]Harbour.

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

Posted: Sat Sep 21, 2024 12:29 pm
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 :?:

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

Posted: Sat Sep 21, 2024 12:45 pm
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

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

Posted: Sat Sep 21, 2024 12:47 pm
by alerchster

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

Posted: Sat Sep 21, 2024 1:01 pm
by Enrico Maria Giordano
I confirm: those are the latest Harbour builds (unofficial, made by me).

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

Posted: Sat Sep 21, 2024 2:47 pm
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.

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

Posted: Sat Sep 21, 2024 5:06 pm
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.

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

Posted: Mon Sep 23, 2024 9:37 am
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)

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

Posted: Mon Sep 23, 2024 10:25 am
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 :?:

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

Posted: Mon Sep 23, 2024 10:28 am
by Enrico Maria Giordano
Most likely.