Page 6 of 8
Re: FWH64
Posted: Thu Mar 31, 2016 7:47 am
by Antonio Linares
Tim,
I need the ace.h
please email it to me
Re: FWH64
Posted: Thu Mar 31, 2016 3:15 pm
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;
^
Re: FWH64
Posted: Thu Mar 31, 2016 3:19 pm
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
Re: FWH64
Posted: Thu Mar 31, 2016 3:57 pm
by Antonio Linares
Re: FWH64
Posted: Thu Mar 31, 2016 4:27 pm
by TimStone
Do we have a FWH function that detects if this is a 32 bit or 64 bit build ?
Tim
Re: FWH64
Posted: Thu Mar 31, 2016 4:41 pm
by byte-one
Re: FWH64
Posted: Thu Mar 31, 2016 4:50 pm
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
Re: FWH64
Posted: Thu Mar 31, 2016 5:56 pm
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
Re: FWH64
Posted: Thu Mar 31, 2016 6:51 pm
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?
Re: FWH64
Posted: Thu Mar 31, 2016 7:04 pm
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
Re: FWH64
Posted: Thu Mar 31, 2016 7:17 pm
by byte-one
Thanks Antonio! Tomorrow i will test and report!
Re: FWH64
Posted: Fri Apr 01, 2016 6:11 am
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
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
Re: FWH64
Posted: Fri Apr 01, 2016 6:42 am
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 ?
Re: FWH64
Posted: Fri Apr 01, 2016 7:17 am
by byte-one
Antonio, on begin from my program is a MsgSplash() with a jpg. On this stage the program64 terminates.
Re: FWH64
Posted: Fri Apr 01, 2016 8:23 pm
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