FWH64

Re: FWH64

Postby byte-one » Sun Apr 03, 2016 9: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
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: FWH64

Postby Antonio Linares » Sun Apr 03, 2016 4: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41315
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FWH64

Postby byte-one » Sun Apr 03, 2016 6:38 pm

Antonio, thanks!!! :roll: I am happy, not MY error..... :D :D
Best regards.
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: FWH64

Postby Antonio Linares » Sun Apr 03, 2016 6: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41315
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FWH64

Postby byte-one » Mon Apr 04, 2016 7: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
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: FWH64

Postby Antonio Linares » Mon Apr 04, 2016 7: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41315
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FWH64

Postby byte-one » Mon Apr 04, 2016 9:57 am

Antonio, there are different 64bit #defines: _WIN64 and __64__. What is for what?
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: FWH64

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

Re: FWH64

Postby byte-one » 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
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: FWH64

Postby Horizon » Sun Apr 10, 2016 3: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.04
Horizon
 
Posts: 1288
Joined: Fri May 23, 2008 1:33 pm

Re: FWH64

Postby Antonio Linares » Mon Apr 11, 2016 7: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41315
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FWH64

Postby Francisco Valério » Wed Apr 27, 2016 6: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.
Francisco Valério
 
Posts: 18
Joined: Mon Jan 13, 2014 8:37 pm

Re: FWH64

Postby Antonio Linares » Wed Apr 27, 2016 6: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41315
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FWH64

Postby Francisco Valério » 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.
Francisco Valério
 
Posts: 18
Joined: Mon Jan 13, 2014 8:37 pm

Re: FWH64

Postby TimStone » Thu Apr 28, 2016 4: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
User avatar
TimStone
 
Posts: 2904
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

PreviousNext

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 72 guests