Page 1 of 3

questions about 64 bits and FWH

Posted: Thu Feb 14, 2013 11:06 am
by lucasdebeltran
Hello,

I would like to ask please some questions about 64 bits and FWH.

What happens with 32 bit dlls, such as Fast Report ?.

Does FWH 64 bits provide all clases in 64 bits mode?. I heard that not all were available, particulary Freeimage support. Maybe I am wrong.

Antonio, please, why do not consider to merge FWH 32 and FWH 64 into a single product, so with a single install we have all libs?. That will help us updating both products every build with a single task.

What about .rc dialogs?.

Any other useful tips?. Maybe an introduction of using 64 bits will help newbies as me.


Thanks a lot!! ;).

Re: questions about 64 bits and FWH

Posted: Thu Feb 14, 2013 11:48 am
by Antonio Linares
Lucas,

32 bits DLLs seem to work fine from 64 bits apps.

FWH 64 was developed after FWH 32, and required lots of changes in the source code, thats why we sell them as different products.

Applying your logic, you shoud receive a Windows 32 and 64 bits when you buy Windows. They are sold as different products, the same way as we do.

rc files are fully compatible, except the manifest file that is different, if used.

Re: questions about 64 bits and FWH

Posted: Thu Feb 14, 2013 12:49 pm
by lucasdebeltran
Antonio,

Thank you about for your quick answer as usual.

Does FWH 64 bits provide all clases in 64 bits mode?. I heard that not all were available, particulary Freeimage support. Maybe I am wrong?.

What changes should I do in my normal code?.

And how 32 bits dll are called in FWH 64?.

Thanks.

Re: questions about 64 bits and FWH

Posted: Fri Feb 15, 2013 12:41 pm
by lucasdebeltran
Up!.

Re: questions about 64 bits and FWH

Posted: Fri Feb 15, 2013 3:17 pm
by Antonio Linares
Lucas,

My mistake, 32 bits DLLs can not be used in 32 bits mode.

We don't have a FreeImage64.dll yet. We need to get it

All FWH classes are available in FWH 64, except TImage for the above reason

Re: questions about 64 bits and FWH

Posted: Fri Feb 15, 2013 3:25 pm
by Antonio Linares

Re: questions about 64 bits and FWH

Posted: Fri Feb 15, 2013 3:27 pm
by lucasdebeltran
Antonio,

Thanks for reply.

When do you plan to have TImage working in 64 bits please?.

Also, as BCC now also has a 64 bit compiler, are you interested in testing and building 64 bits libs?. I can offer my help to test FWH64 with BCC 64 bits.

Thanks.

Re: questions about 64 bits and FWH

Posted: Fri Feb 15, 2013 3:34 pm
by Antonio Linares
Lucas,

In fact, what we need is how to successfully rebuild FreeImage.dll in 64 bits. I am not familiar with Free Image source code but I assume that they should provide a make file for 64 bits.

Regarding bcc 64, we have been offering FWH 64 much before and we used Microsoft C compiler to do it. I don't see any advantages in using bcc 64 except that it may be easier for bcc users.

Re: questions about 64 bits and FWH

Posted: Fri Feb 15, 2013 3:52 pm
by lucasdebeltran
Antonio,

You are right, the main advantage is that it is easier for bcc users. So maybe it is interesting and will help users to move and produce 64 bits with BCC and 32 bits with same compiler.

What do you think?.

Re: questions about 64 bits and FWH

Posted: Fri Feb 15, 2013 5:21 pm
by Antonio Linares
Is bcc 64 already available ?

Is it free ?

Re: questions about 64 bits and FWH

Posted: Fri Feb 15, 2013 5:29 pm
by lucasdebeltran
Antonio,

Yes, BCC 64 bits is available since 2013 here:
C++Builder XE3 Architect with 64-bit
https://downloads.embarcadero.com/free/c_builder


Also, Harbour does support it as Viktor replied me.



Thanks. It should be interesting testing it. Latest BCC 32 bits compiles very very fast. ;).

Re: questions about 64 bits and FWH

Posted: Sat Feb 16, 2013 7:17 am
by elvira
Hola,

Yo también estoy interesada, porque MSVC lo veo complicadísimo la verdad.

Re: questions about 64 bits and FWH

Posted: Sun Feb 17, 2013 5:31 pm
by lucasdebeltran
Antonio,

Freeimage is avaliable on 64 bits:
http://www.sambeauvois.be/blog/2010/05/ ... s-you-can/

Already compilled:
http://www.sambeauvois.be/Demos/FreeIma ... ageX64.zip

Hope it helps.

Thanks.

Re: questions about 64 bits and FWH

Posted: Sun Feb 17, 2013 5:59 pm
by Antonio Linares
Lucas,

Many thanks! :-)

Working on it...

Re: questions about 64 bits and FWH

Posted: Mon Feb 18, 2013 1:46 pm
by Antonio Linares
Class TImage for 64 bits seems to be ready :-) We had to change code to adapt it to FreeImage.dll 64 bits (we have renamed it as FreeImage64.dll)

samples\testimg.prg is already working fine with FWH 64 and Harbour

Image

It will be included in FWH 13.02