questions about 64 bits and FWH

User avatar
lucasdebeltran
Posts: 1303
Joined: Tue Jul 21, 2009 8:12 am
Contact:

questions about 64 bits and FWH

Post 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!! ;).
Muchas gracias. Many thanks.

Un saludo, Best regards,

Harbour 3.2.0dev, Borland C++ 5.82 y FWH 13.06 [producción]

Implementando MSVC 2010, FWH64 y ADO.

Abandonando uso xHarbour y SQLRDD.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: questions about 64 bits and FWH

Post 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.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
lucasdebeltran
Posts: 1303
Joined: Tue Jul 21, 2009 8:12 am
Contact:

Re: questions about 64 bits and FWH

Post 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.
Muchas gracias. Many thanks.

Un saludo, Best regards,

Harbour 3.2.0dev, Borland C++ 5.82 y FWH 13.06 [producción]

Implementando MSVC 2010, FWH64 y ADO.

Abandonando uso xHarbour y SQLRDD.
User avatar
lucasdebeltran
Posts: 1303
Joined: Tue Jul 21, 2009 8:12 am
Contact:

Re: questions about 64 bits and FWH

Post by lucasdebeltran »

Up!.
Muchas gracias. Many thanks.

Un saludo, Best regards,

Harbour 3.2.0dev, Borland C++ 5.82 y FWH 13.06 [producción]

Implementando MSVC 2010, FWH64 y ADO.

Abandonando uso xHarbour y SQLRDD.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: questions about 64 bits and FWH

Post 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
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: questions about 64 bits and FWH

Post by Antonio Linares »

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
lucasdebeltran
Posts: 1303
Joined: Tue Jul 21, 2009 8:12 am
Contact:

Re: questions about 64 bits and FWH

Post 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.
Muchas gracias. Many thanks.

Un saludo, Best regards,

Harbour 3.2.0dev, Borland C++ 5.82 y FWH 13.06 [producción]

Implementando MSVC 2010, FWH64 y ADO.

Abandonando uso xHarbour y SQLRDD.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: questions about 64 bits and FWH

Post 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.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
lucasdebeltran
Posts: 1303
Joined: Tue Jul 21, 2009 8:12 am
Contact:

Re: questions about 64 bits and FWH

Post 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?.
Muchas gracias. Many thanks.

Un saludo, Best regards,

Harbour 3.2.0dev, Borland C++ 5.82 y FWH 13.06 [producción]

Implementando MSVC 2010, FWH64 y ADO.

Abandonando uso xHarbour y SQLRDD.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: questions about 64 bits and FWH

Post by Antonio Linares »

Is bcc 64 already available ?

Is it free ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
lucasdebeltran
Posts: 1303
Joined: Tue Jul 21, 2009 8:12 am
Contact:

Re: questions about 64 bits and FWH

Post 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. ;).
Muchas gracias. Many thanks.

Un saludo, Best regards,

Harbour 3.2.0dev, Borland C++ 5.82 y FWH 13.06 [producción]

Implementando MSVC 2010, FWH64 y ADO.

Abandonando uso xHarbour y SQLRDD.
elvira
Posts: 462
Joined: Fri Jun 29, 2012 12:49 pm

Re: questions about 64 bits and FWH

Post by elvira »

Hola,

Yo también estoy interesada, porque MSVC lo veo complicadísimo la verdad.
User avatar
lucasdebeltran
Posts: 1303
Joined: Tue Jul 21, 2009 8:12 am
Contact:

Re: questions about 64 bits and FWH

Post 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.
Muchas gracias. Many thanks.

Un saludo, Best regards,

Harbour 3.2.0dev, Borland C++ 5.82 y FWH 13.06 [producción]

Implementando MSVC 2010, FWH64 y ADO.

Abandonando uso xHarbour y SQLRDD.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: questions about 64 bits and FWH

Post by Antonio Linares »

Lucas,

Many thanks! :-)

Working on it...
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: questions about 64 bits and FWH

Post 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
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply