FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour FWH64
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: FWH64
Posted: Sun Apr 03, 2016 09:36 AM
To Antonio and others:
Please download the testend.zop rename in testend.zip and test the 64bit program. On all my 64bit-computers not functioning! The MsgSplash(..) not functioning! (maybe my freeimage64.dll is wrong. Downloaded new, always the same error).
http://byte-one.com/testend.zop
Regards,
GΓΌnther
---------------------------------
office@byte-one.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: FWH64
Posted: Sun Apr 03, 2016 04:19 PM

GΓΌnther,

DLL FUNCTION ... is failing with FWH 64 BCC

We are working to fix it

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: FWH64
Posted: Sun Apr 03, 2016 06:38 PM

Antonio, thanks!!! :roll: I am happy, not MY error..... :D :D
Best regards.

Regards,
GΓΌnther
---------------------------------
office@byte-one.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: FWH64
Posted: Sun Apr 03, 2016 06:58 PM

GΓΌnther,

Fixed :-)

I have just emailed you the modified libs

many thanks for your feedback

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: FWH64
Posted: Mon Apr 04, 2016 07:55 AM

Antonio, many thanks! Functioning now also in my projects!! What was the concrete reason for this error in dllcall ?

Regards,
GΓΌnther
---------------------------------
office@byte-one.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: FWH64
Posted: Mon Apr 04, 2016 07:58 AM

GΓΌnther,

Borland BCC 7 (7.1) has changed its "byte alignment" and now behaves like Visual C.

So in all places where byte alignment is used, we had to modify the code.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: FWH64
Posted: Mon Apr 04, 2016 09:57 AM

Antonio, there are different 64bit #defines: _WIN64 and 64. What is for what?

Regards,
GΓΌnther
---------------------------------
office@byte-one.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: FWH64
Posted: Mon Apr 04, 2016 10:11 AM

_WIN64 is automatically provided by the C compiler

We use 64 for the resources files only, as the resources compiler does not provide a similar _WIN64 define

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: FWH64
Posted: Mon Apr 04, 2016 11:27 AM

Antonio, i found 64 also in fivewin.ch. Should in the FWH-header-files also used _WIN64 or is not visible at this moment of compilation!? FWVERSION gives wrong result, if 64 not defined!

A further point: The version from Harbour in FWH64 are newer as the Harbour from FWH. Should be all the newest!

And the libs for Harbour-BCC7.1 for FWH64 should compiled with -O2 to apply all compiler-optimizations.

Regards,
GΓΌnther
---------------------------------
office@byte-one.com
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: FWH64
Posted: Sun Apr 10, 2016 03:54 PM

Hi All,

which one is the best in 64 bit. Borland or msvc 2015?

in order to use 64 bit, must we have 64 bit for 3rd party libraries?

Thanks,

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: FWH64
Posted: Mon Apr 11, 2016 07:25 AM

Hakan,

> in order to use 64 bit, must we have 64 bit for 3rd party libraries?

Yes

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 18
Joined: Mon Jan 13, 2014 08:37 PM
Re: FWH64
Posted: Wed Apr 27, 2016 06:19 PM

Hi,

I try to build fwh64 with VC2015 and the error is generated

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ FWH 64 for Harbour 14.08 (MSVC++) Aug.2014 Harbour development power β”‚β–„
β”‚ (c) FiveTech, 1993-2014 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7/8 β”‚β–ˆ
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β–ˆ
Β  β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€
Compiling...
Harbour 3.2.0dev (r1603082110)
Copyright (c) 1999-2016, http://harbour-project.org/
Compiling 'get.prg' and generating preprocessed output to 'get.ppo'...
Lines 4339, Functions/Procedures 3
Generating C source output to 'get.c'... Done.
fatal error C1510: Cannot load language resource clui.dll.
LINK : fatal error LNK1181: cannot open input file 'get.obj'
* Linking errors *

Thanks.

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: FWH64
Posted: Wed Apr 27, 2016 06:45 PM

Francisco,

Please look for clui.dll in your computer and copy it where cl.exe is

Also check if you have these lines in your fwh\samples\build64.bat file:

if exist "%ProgramFiles%\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" call "%ProgramFiles%\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86_amd64
if exist "%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" call "%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86_amd64

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 18
Joined: Mon Jan 13, 2014 08:37 PM
Re: FWH64
Posted: Thu Apr 28, 2016 12:06 PM

Antonio,
Really my installation had a problem, but after reinstalling , this error is generated

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ FWH 64 for Harbour 14.08 (MSVC++) Aug.2014 Harbour development power β”‚β–„
β”‚ (c) FiveTech, 1993-2014 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7/8 β”‚β–ˆ
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β–ˆ
Β  β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€
Compiling...
Harbour 3.2.0dev (r1412151448)
Copyright (c) 1999-2014, http://harbour-project.org/
Compiling 'tutor02.prg' and generating preprocessed output to 'tutor02.ppo'...
Lines 4261, Functions/Procedures 1
Generating C source output to 'tutor02.c'... Done.
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23918 for x64
Copyright (C) Microsoft Corporation. All rights reserved.

tutor02.c
Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384
Copyright (C) Microsoft Corporation. All rights reserved.

FiveH64.lib(HARBOUR.obj) : error LNK2019: unresolved external symbol __iob_func referenced in function HB_FUN_FREOPEN_STDERR
FiveHC64.lib(FWPNG.obj) : error LNK2019: unresolved external symbol png_init_io referenced in function save_png_to_file
tutor02.exe : fatal error LNK1120: 2 unresolved externals
* Linking errors *

Thanks.

Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: FWH64
Posted: Thu Apr 28, 2016 04:23 PM

Please post your build file.

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit