FWH 64 for Borland bcc 7.1 64 bits is running!!!

Re: FWH 64 for Borland bcc 7.1 64 bits is running!!!

Postby Antonio Linares » Mon Mar 28, 2016 9:35 am

Marc,

Or can I just take the same as my BCC for 32-bit, and replace bcc32 in bcc64 and ilink32 into ilink64?
And changing the paths and libs ofcource :)


Yes, please do it and publish it here and I will help you to fine tune it, thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42076
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FWH 64 for Borland bcc 7.1 64 bits is running!!!

Postby Marc Vanzegbroeck » Mon Mar 28, 2016 10:55 am

Antonio,

Ths is my RMK-file
Code: Select all  Expand view
HBDIR=c:\_vmsdata\FWH64\harbour64
BCDIR=c:\_vmsdata\FWH64\bcc71
FWDIR=c:\_vmsdata\FWH64\FWH64

#change these paths as needed
.path.OBJ = .\
.path.PRG = .\
.path.CH  = $(FWDIR)\include;$(HBDIR)\include
.path.C   = .\
.path.rc  = .\

#important: Use Uppercase for filenames extensions, in the next two rules!

PRG =             \
   EPKSDOC.PRG    \
   PROJECT.PRG    \

PROJECT    : EPKSDOC.exe

EPKSDOC.EXE  : $(PRG:.PRG=.OBJ) $(C:.C=.OBJ)
   $(BCDIR)\bin\ilink64 -Gn -aa -Tpe -s @EPKSDOC.bc

.PRG.OBJ:
  $(HBDIR)\bin\harbour $< /n /w /p /I$(FWDIR)\include;$(HBDIR)\include
  $(BCDIR)\bin\bcc64 -c -tWM -I$(HBDIR)\include -o$& $&.c

.C.OBJ:
  echo -c -tWM -D__HARBOUR__ -DHB_API_MACROS > tmp
  echo -I$(HBDIR)\include;$(FWDIR)\include >> tmp
  $(BCDIR)\bin\bcc64 -o$& @tmp $&.c
  del tmp

EPKSDOC.res : EPKSDOC.rc
  $(BCDIR)\bin\brc32.exe -r EPKSDOC.rc


And this my BC-file
Code: Select all  Expand view
c:\_vmsdata\FWH64\bcc71\bin\c0w64.o +
EPKSDOC.OBJ +
PROJECT.OBJ, +
EPKSDOC.exe, +
EPKSDOC.map, +
c:\_vmsdata\FWH64\FWH64\lib\Five64.a c:\_vmsdata\FWH64\FWH64\lib\FiveH64.a +
c:\_vmsdata\FWH64\harbour64\lib\hbwin.a +
c:\_vmsdata\FWH64\harbour64\lib\gtgui.a +
c:\_vmsdata\FWH64\harbour64\lib\hbrtl.a +
c:\_vmsdata\FWH64\harbour64\lib\hbvm.a +
c:\_vmsdata\FWH64\harbour64\lib\hblang.a +
c:\_vmsdata\FWH64\harbour64\lib\hbmacro.a +
c:\_vmsdata\FWH64\harbour64\lib\hbrdd.a +
c:\_vmsdata\FWH64\harbour64\lib\rddntx.a +
c:\_vmsdata\FWH64\harbour64\lib\rddcdx.a +
c:\_vmsdata\FWH64\harbour64\lib\rddfpt.a +
c:\_vmsdata\FWH64\harbour64\lib\hbsix.a +
c:\_vmsdata\FWH64\harbour64\lib\hbdebug.a +
c:\_vmsdata\FWH64\harbour64\lib\hbcommon.a +
c:\_vmsdata\FWH64\harbour64\lib\hbpp.a +
c:\_vmsdata\FWH64\harbour64\lib\hbcpage.a +
c:\_vmsdata\FWH64\harbour64\lib\hbcplr.a +
c:\_vmsdata\FWH64\harbour64\lib\hbct.a +
c:\_vmsdata\FWH64\harbour64\lib\hbpcre.a +
c:\_vmsdata\FWH64\harbour64\lib\xhb.a +
c:\_vmsdata\FWH64\harbour64\lib\hbziparc.a +
c:\_vmsdata\FWH64\harbour64\lib\hbmzip.a +
c:\_vmsdata\FWH64\harbour64\lib\hbzlib.a +
c:\_vmsdata\FWH64\harbour64\lib\minizip.a +
c:\_vmsdata\FWH64\harbour64\lib\png.a +
c:\_vmsdata\FWH64\harbour64\lib\hbusrrdd.a +
c:\_vmsdata\FWH64\bcc71\lib\cw64.a +
c:\_vmsdata\FWH64\bcc71\lib\psdk\kernel32.a +
c:\_vmsdata\FWH64\bcc71\lib\psdk\user32.a +
c:\_vmsdata\FWH64\bcc71\lib\psdk\import64.a
EPKSDOC.res
 


The error I get is
Code: Select all  Expand view
c:\_vmsdata\FWH64\projects\EPKSDoc\prg>c:\_vmsdata\FWH\bcc55\bin\make -fEPKSDOC.
rmk
MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
        c:\_vmsdata\FWH64\bcc71\bin\ilink64 -Gn -aa -Tpe -s @EPKSDOC.bc
Turbo Incremental Link64 6.72 Copyright (c) 1997-2015 Embarcadero Technologies,
Inc.
EPKSDOC.res(1):'Invalid character in .DEF file'
Fatal: Error processing .DEF file
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Re: FWH 64 for Borland bcc 7.1 64 bits is running!!!

Postby Antonio Linares » Mon Mar 28, 2016 11:21 am

Marc,

There is a missing comma here:

c:\_vmsdata\FWH64\bcc71\lib\psdk\import64.a, <<-- here
EPKSDOC.res
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42076
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FWH 64 for Borland bcc 7.1 64 bits is running!!!

Postby Marc Vanzegbroeck » Mon Mar 28, 2016 1:08 pm

Getting close...

Only this error
Code: Select all  Expand view
c:\_vmsdata\FWH64\projects\EPKSDoc\prg>c:\_vmsdata\FWH\bcc55\bin\make -fEPKSDOC.
rmk
MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
        echo -c -tWM -D__HARBOUR__ -DHB_API_MACROS > tmp
        echo -Ic:\_vmsdata\FWH64\harbour64\include;c:\_vmsdata\FWH64\FWH64\inclu
de >> tmp
        c:\_vmsdata\FWH64\bcc71\bin\bcc64 -oEPKSDOC @tmp EPKSDOC.c
Embarcadero C++ 7.10 for Win64 Copyright (c) 2012-2015 Embarcadero Technologies,
 Inc.
EPKSDOC.c:
EPKSDOC.c:7:10: fatal error: 'hbvmpub.h' file not found
#include "hbvmpub.h"
         ^
1 error generated.

** error 1 ** deleting .\EPKSDOC.OBJ


Strange, since the file is in C:\_vmsdata\FWH64\harbour64\include
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Re: FWH 64 for Borland bcc 7.1 64 bits is running!!!

Postby Marc Vanzegbroeck » Mon Mar 28, 2016 3:16 pm

Antonio,

It finally works :D :D :D
Even my library works. :) :) :) :)
First I was thinking that you renamed the lib-files to .a because then where in test, but if I create my lib, it also is a .a file :shock:

The strange thing is that my 'TOOLBAR' is not shown in my application, compiling with VS2015, it was working...

I will take al look at it...
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Re: FWH 64 for Borland bcc 7.1 64 bits is running!!!

Postby byte-one » Mon Mar 28, 2016 4:12 pm

Is Harbour.exe for 64bit a 64bit-exe or a 32bit-cross-compiler?
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: FWH 64 for Borland bcc 7.1 64 bits is running!!!

Postby Antonio Linares » Mon Mar 28, 2016 7:05 pm

Günther,

harbour.exe always work the same, so in fact you can use the same compiler for 32 and 64 bits, etc

harbour.exe generates a C file with pcode, the same pcode for all.

The above does not apply to the Harbour libraries
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42076
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FWH 64 for Borland bcc 7.1 64 bits is running!!!

Postby byte-one » Mon Mar 28, 2016 7:15 pm

Antonio, thanks!
My computer is 32bit. Thats why i ask!
Tomorrow i will order the FWH64.
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: FWH 64 for Borland bcc 7.1 64 bits is running!!!

Postby Marc Vanzegbroeck » Tue Mar 29, 2016 10:00 am

Antonio,

I have a strange problem.
In my 32bit library I have a function called mdbf2xls()

If I add that function to my lib, ald call it from mu program, I get this error while compiling..
Code: Select all  Expand view
       c:\_vmsdata\FWH64\bcc71\bin\ilink64 -Gn -aa -Tpe -s @EPKSDOC.bc
Turbo Incremental Link64 6.72 Copyright (c) 1997-2015 Embarcadero Technologies,
Inc.
Error: Unresolved external 'GetAdaptersInfo' referenced from C:\_VMSDATA\FWH64\H
ARBOUR64\LIB\BCC\HBRTL.A|hbsocket.o


If I add
Code: Select all  Expand view
func mdbf2xls()
RETURN nil
 


To my main program, I don't get that error
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Re: FWH 64 for Borland bcc 7.1 64 bits is running!!!

Postby Antonio Linares » Tue Mar 29, 2016 4:51 pm

Marc,

Please link Borland LIB\psdk\iphlpapi.a too
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42076
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FWH 64 for Borland bcc 7.1 64 bits is running!!!

Postby Marc Vanzegbroeck » Tue Mar 29, 2016 5:08 pm

Antonio Linares wrote:Marc,

Please link Borland LIB\psdk\iphlpapi.a too


Thank you, now it's working.

Until now, I'am using by SQL-function that I wrote myself, (creating databases, tables, list tables,....) and they are working fine.
I was using them because I was using a very old version of FWH, FWH710 :oops: , but they are working fine :D

I say thaw now there are some SQL-function in FWH. I wanted to try one of them, but I get this error.
Code: Select all  Expand view
Error: Unresolved external 'HB_FUN_SQLTRANSACT' referenced from C:\_VMSDATA\FWH
4\FWH64\LIB\FIVE64.A|ODBC.OBJ
Error: Unresolved external 'HB_FUN_SQLGETIN32' referenced from C:\_VMSDATA\FWH6
\FWH64\LIB\FIVE64.A|ODBC.OBJ
Error: Unresolved external 'HB_FUN_SQLPREP32' referenced from C:\_VMSDATA\FWH64
FWH64\LIB\FIVE64.A|ODBC.OBJ
Error: Unresolved external 'HB_FUN_SQLSETCURSORNAME' referenced from C:\_VMSDAT
\FWH64\FWH64\LIB\FIVE64.A|ODBC.OBJ
Error: Unresolved external 'HB_FUN_SQLGETCURSORNAME' referenced from C:\_VMSDAT
\FWH64\FWH64\LIB\FIVE64.A|ODBC.OBJ
Error: Unresolved external 'HB_FUN_SQLTABLES' referenced from C:\_VMSDATA\FWH64
FWH64\LIB\FIVE64.A|ODBC.OBJ
Error: Unresolved external 'HB_FUN_SQLSTATISTICS' referenced from C:\_VMSDATA\F
H64\FWH64\LIB\FIVE64.A|ODBC.OBJ
Error: Unresolved external 'HB_FUN_SQLCOLUMNS' referenced from C:\_VMSDATA\FWH6
\FWH64\LIB\FIVE64.A|ODBC.OBJ
Error: Unresolved external 'HB_FUN_SQLDRVC32' referenced from C:\_VMSDATA\FWH64
FWH64\LIB\FIVE64.A|ODBC.OBJ
Error: Unresolved external 'HB_FUN_SQLDESC32' referenced from C:\_VMSDATA\FWH64
FWH64\LIB\FIVE64.A|ODBC.OBJ
Error: Unresolved external 'HB_FUN_SQLGETD32' referenced from C:\_VMSDATA\FWH64
FWH64\LIB\FIVE64.A|ODBC.OBJ
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Re: FWH 64 for Borland bcc 7.1 64 bits is running!!!

Postby Antonio Linares » Tue Mar 29, 2016 5:42 pm

Marc,

I have just emailed you modified FWH 64 BCC libs

Please try it again with them
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42076
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FWH 64 for Borland bcc 7.1 64 bits is running!!!

Postby Marc Vanzegbroeck » Tue Mar 29, 2016 5:48 pm

Antonio Linares wrote:Marc,

I have just emailed you modified FWH 64 BCC libs

Please try it again with them


Thank you,

Now, it's working.
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Re: FWH 64 for Borland bcc 7.1 64 bits is running!!!

Postby Marc Vanzegbroeck » Tue Mar 29, 2016 10:07 pm

Hello,

A strange thing that I just notice is:
If you call for example a function, and a variable does not exist.
The programs dot gives an error that the variable does not exist, but hangs...

This is very difficult to debug. I don't know, if this is a FWH64 problem, of BCC7.1

For example if you misspell paramtr2 instead of parameter2
Code: Select all  Expand view

parameter1 = 10
parameter2 = 20
testvar(parameter1,paramtr2)
 

The programs hangs. You have to stop it with tastmanager.

Or also
Code: Select all  Expand view

parameter1 = 'nice'
v = 'This is '+paramter1
 

Give the same result.

In my FWH32, I get an error that paramter1 dos not exist..
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Re: FWH 64 for Borland bcc 7.1 64 bits is running!!!

Postby Antonio Linares » Tue Mar 29, 2016 10:16 pm

Marc,

Seen, thanks

We are working to fix it
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42076
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

PreviousNext

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 117 guests