FWH64
Re: FWH64
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
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
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: FWH64
Günther,
DLL FUNCTION ... is failing with FWH 64 BCC
We are working to fix it
DLL FUNCTION ... is failing with FWH 64 BCC
We are working to fix it
Re: FWH64
Antonio, thanks!!! I am happy, not MY error.....
Best regards.
Best regards.
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: FWH64
Günther,
Fixed
I have just emailed you the modified libs
many thanks for your feedback
Fixed
I have just emailed you the modified libs
many thanks for your feedback
Re: FWH64
Antonio, many thanks! Functioning now also in my projects!! What was the concrete reason for this error in dllcall ?
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: FWH64
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.
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
Antonio, there are different 64bit #defines: _WIN64 and __64__. What is for what?
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: FWH64
_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
We use __64__ for the resources files only, as the resources compiler does not provide a similar _WIN64 define
Re: FWH64
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.
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.
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: FWH64
Hakan,
> in order to use 64 bit, must we have 64 bit for 3rd party libraries?
Yes
> in order to use 64 bit, must we have 64 bit for 3rd party libraries?
Yes
-
- Posts: 16
- Joined: Mon Jan 13, 2014 8:37 pm
Re: FWH64
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.
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.
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: FWH64
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
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
-
- Posts: 16
- Joined: Mon Jan 13, 2014 8:37 pm
Re: FWH64
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.
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
Please post your build file.
Tim Stone
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019