FWH64

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 »

Tim,

I need the ace.h

please email it to me
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 »

I have some own GDIPLUS-functions similar to the FWH-gdiplus.cpp. When i compile with bcc64 there comes several errors. Somebody knows the reason?

In file included from C:\bcc\include\windows\sdk\gdiplus.h:25: -> the call to includefile gdiplus.h
In file included from C:\bcc\include\dinkumware64\algorithm:4:
In file included from C:\bcc\include\dinkumware64\xmemory:4:
In file included from C:\bcc\include\dinkumware64\xmemory0:6:
In file included from C:\bcc\include\dinkumware64\limits:8:
C:\bcc\include\dinkumware64\cwchar:34:1: error: unbekannter Typname 'using'
using _STD tm;
^
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,

I have observed that bcc64.exe reports a lot of warnings from its own header files when compiles.

Maybe those headers are not the right ones ?

We should compare them with the original package from Embarcadero
regards, saludos

Antonio Linares
www.fivetechsoft.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 »

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
TimStone
Posts: 2536
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA
Contact:

Re: FWH64

Post by TimStone »

Do we have a FWH function that detects if this is a 32 bit or 64 bit build ?

Tim
Tim Stone
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
User avatar
byte-one
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria
Contact:

Re: FWH64

Post by byte-one »

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 »

Tim,
TimStone wrote:Do we have a FWH function that detects if this is a 32 bit or 64 bit build ?

Tim
IsExe64() --> lYesNo
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Massimo Linossi
Posts: 474
Joined: Mon Oct 17, 2005 10:38 am
Location: Italy

Re: FWH64

Post by Massimo Linossi »

Hi to all.
I'm interested in these new features.
I wish to know if a 64 bits application is faster using DBF's and Advantage database.
Thanks a lot.
Massimo
User avatar
byte-one
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria
Contact:

Re: FWH64

Post by byte-one »

Finally i made a 64Bit exe.
But when i will start a error =xc000007b occurs and the program no starts! Does anyone knows the reason?
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,

You are using a wrong manifest file.

Do it this way: Remember to provide -D__64__ to the resources compiler for 64 bits

#ifndef __64__
1 24 "WinXP/WindowsXP.Manifest"
#else
1 24 "WinXP/WindowsXP.Manifest64"
#endif
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 »

Thanks Antonio! Tomorrow i will test and report!
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria
Contact:

Re: FWH64

Post by byte-one »

Manifest is OK now!

But when i use a image and freeimage64.dll (hb_log.out) :
Application Internal Error - C:\ADISC\ADISC64.exe
Terminated at: 2016-04-01 07:39:52
Unrecoverable error 6005: Exception error:
Exception Code:C0000005 ACCESS_VIOLATION
Exception Address:00007FFA11921DB5
RAX:00007FFA11A59F20 RBX:00007FFA11A59F20 RCX:00000000FFFFFFFF RDX:00007FFA11A59F20
RSI:0000000000000002 RDI:00007FFA1194BEF4 RBP:000000000014A720
R8 :0000000000000030 R9 :0000000000000001 R10:00007FFA2B23CA90 R11:0000000004942650
R12:0000000000000040 R13:0000000000000000 R14:00000000023203B1 R15:0000000000000000
CS:RIP:0033:00007FFA11921DB5 SS:RSP:002B:000000000014A480
DS:002B ES:002B FS:0053 GS:002B
Flags:00010202
Exception Parameters: 0000000000000000 0000000000000002

Called from FWCALLDLL(0)
Called from FIGETFILETYPE(0) in .\source\classes\IMAGE.PRG
Called from FILOADIMG(0) in .\source\classes\IMAGE.PRG
Called from TIMAGE:LOADIMAGE(0) in .\source\classes\IMAGE.PRG
Called from TBITMAP:NEW(0) in .\source\classes\BITMAP.PRG
Called from TIMAGE:NEW(0) in .\source\classes\IMAGE.PRG
Called from H_BITMAP(349) in .\config.prg
Called from (b)MAIN(134) in .\config.prg
Called from TWINDOW:RESIZE(0) in .\source\classes\WINDOW.PRG
Called from TWINDOW:HANDLEEVENT(0)
Called from _FWH(0) in .\source\classes\WINDOW.PRG
Called from SHOWWINDOW(0)
Called from TWINDOW:ACTIVATE(0) in .\source\classes\WINDOW.PRG
Called from MAIN(134) in .\config.prg
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,

I just tested samples\testimg.prg using both BCC 7.1 64 and VSC2015 64 and they worked fine.

Could you post an example to reproduce 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, on begin from my program is a MsgSplash() with a jpg. On this stage the program64 terminates.
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,

I just tested FWH\samples\splash.prg and worked fine

I modified it to use a jpg also

Please try it and let me know your results
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply