Page 7 of 8

Re: FWH64

PostPosted: Sun Apr 03, 2016 9:36 am
by byte-one
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

Re: FWH64

PostPosted: Sun Apr 03, 2016 4:19 pm
by Antonio Linares
Günther,

DLL FUNCTION ... is failing with FWH 64 BCC

We are working to fix it

Re: FWH64

PostPosted: Sun Apr 03, 2016 6:38 pm
by byte-one
Antonio, thanks!!! :roll: I am happy, not MY error..... :D :D
Best regards.

Re: FWH64

PostPosted: Sun Apr 03, 2016 6:58 pm
by Antonio Linares
Günther,

Fixed :-)

I have just emailed you the modified libs

many thanks for your feedback

Re: FWH64

PostPosted: Mon Apr 04, 2016 7:55 am
by byte-one
Antonio, many thanks! Functioning now also in my projects!! What was the concrete reason for this error in dllcall ?

Re: FWH64

PostPosted: Mon Apr 04, 2016 7:58 am
by Antonio Linares
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.

Re: FWH64

PostPosted: Mon Apr 04, 2016 9:57 am
by byte-one
Antonio, there are different 64bit #defines: _WIN64 and __64__. What is for what?

Re: FWH64

PostPosted: Mon Apr 04, 2016 10:11 am
by Antonio Linares
_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

Re: FWH64

PostPosted: Mon Apr 04, 2016 11:27 am
by byte-one
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.

Re: FWH64

PostPosted: Sun Apr 10, 2016 3:54 pm
by Horizon
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,

Re: FWH64

PostPosted: Mon Apr 11, 2016 7:25 am
by Antonio Linares
Hakan,

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

Yes

Re: FWH64

PostPosted: Wed Apr 27, 2016 6:19 pm
by Francisco Valério
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.

Re: FWH64

PostPosted: Wed Apr 27, 2016 6:45 pm
by Antonio Linares
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

Re: FWH64

PostPosted: Thu Apr 28, 2016 12:06 pm
by Francisco Valério
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.

Re: FWH64

PostPosted: Thu Apr 28, 2016 4:23 pm
by TimStone
Please post your build file.