FWH64

User avatar
byte-one
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria
Contact:

Re: FWH64

Post 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
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: FWH64

Post by Antonio Linares »

Günther,

DLL FUNCTION ... is failing with FWH 64 BCC

We are working to fix it
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
byte-one
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria
Contact:

Re: FWH64

Post by byte-one »

Antonio, thanks!!! :roll: I am happy, not MY error..... :D :D
Best regards.
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: FWH64

Post by Antonio Linares »

Günther,

Fixed :-)

I have just emailed you the modified libs

many thanks for your feedback
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
byte-one
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria
Contact:

Re: FWH64

Post by byte-one »

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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: FWH64

Post 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.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
byte-one
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria
Contact:

Re: FWH64

Post by byte-one »

Antonio, there are different 64bit #defines: _WIN64 and __64__. What is for what?
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: FWH64

Post 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
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
byte-one
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria
Contact:

Re: FWH64

Post 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.
Regards,
Günther
---------------------------------
office@byte-one.com
Horizon
Posts: 997
Joined: Fri May 23, 2008 1:33 pm

Re: FWH64

Post 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,
Regards,

Hakan ONEMLI

Harbour & VS 2019 & FWH 20.12
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: FWH64

Post by Antonio Linares »

Hakan,

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

Yes
regards, saludos

Antonio Linares
www.fivetechsoft.com
Francisco Valério
Posts: 16
Joined: Mon Jan 13, 2014 8:37 pm

Re: FWH64

Post 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.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: FWH64

Post 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
regards, saludos

Antonio Linares
www.fivetechsoft.com
Francisco Valério
Posts: 16
Joined: Mon Jan 13, 2014 8:37 pm

Re: FWH64

Post 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.
User avatar
TimStone
Posts: 2536
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA
Contact:

Re: FWH64

Post by TimStone »

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