FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour questions about 64 bits and FWH
Posts: 1303
Joined: Tue Jul 21, 2009 08:12 AM
questions about 64 bits and FWH
Posted: Thu Feb 14, 2013 11:06 AM

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.
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: questions about 64 bits and FWH
Posted: Thu Feb 14, 2013 11:48 AM

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
Posts: 1303
Joined: Tue Jul 21, 2009 08:12 AM
Re: questions about 64 bits and FWH
Posted: Thu Feb 14, 2013 12:49 PM

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.
Posts: 1303
Joined: Tue Jul 21, 2009 08:12 AM
Re: questions about 64 bits and FWH
Posted: Fri Feb 15, 2013 12:41 PM

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.
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: questions about 64 bits and FWH
Posted: Fri Feb 15, 2013 03:17 PM

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
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: questions about 64 bits and FWH
Posted: Fri Feb 15, 2013 03:25 PM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1303
Joined: Tue Jul 21, 2009 08:12 AM
Re: questions about 64 bits and FWH
Posted: Fri Feb 15, 2013 03:27 PM

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.
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: questions about 64 bits and FWH
Posted: Fri Feb 15, 2013 03:34 PM

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
Posts: 1303
Joined: Tue Jul 21, 2009 08:12 AM
Re: questions about 64 bits and FWH
Posted: Fri Feb 15, 2013 03:52 PM

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.
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: questions about 64 bits and FWH
Posted: Fri Feb 15, 2013 05:21 PM

Is bcc 64 already available ?

Is it free ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1303
Joined: Tue Jul 21, 2009 08:12 AM
Re: questions about 64 bits and FWH
Posted: Fri Feb 15, 2013 05:29 PM

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.
Posts: 518
Joined: Fri Jun 29, 2012 12:49 PM
Re: questions about 64 bits and FWH
Posted: Sat Feb 16, 2013 07:17 AM

Hola,

Yo tambi茅n estoy interesada, porque MSVC lo veo complicad铆simo la verdad.

Posts: 1303
Joined: Tue Jul 21, 2009 08:12 AM
Re: questions about 64 bits and FWH
Posted: Sun Feb 17, 2013 05:31 PM

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.
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: questions about 64 bits and FWH
Posted: Sun Feb 17, 2013 05:59 PM

Lucas,

Many thanks! :-)

Working on it...

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: questions about 64 bits and FWH
Posted: Mon Feb 18, 2013 01:46 PM
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



It will be included in FWH 13.02
regards, saludos

Antonio Linares
www.fivetechsoft.com