bugs FWH64

Re: bugs FWH64

Postby lucasdebeltran » Wed Jul 24, 2013 2:32 pm

Antonio,

Good news.

But I am afraid now we are with hurry finishing a proyect and I don´t have time to change at this present moment.

Please, can you send me the fix for TRichEdit?.

Thank you very much. We need the fix please urgent.

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

Re: bugs FWH64

Postby Antonio Linares » Wed Jul 24, 2013 3:04 pm

Lucas,

First thing to be checked is if riched20.dll is ok for 64 bits. A DLL can't be accessed from both 32 and 64 bits, so unless I am missing something, that DLL should not work with 64 bits mode.

Anyhow, a LoadLibrary( "riched20.dll" ) seems to return a valid handle. How is this possible ?

And how is it possible that no one noticed this before ? simply, nobody noticed it, including me. Until we clearify this
mistery, we can not solve it. I am sorry if you are in a hurry but for this time we don't have an inmediate solution.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42093
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: bugs FWH64

Postby lucasdebeltran » Wed Jul 24, 2013 3:09 pm

Antonio,

Have you tested FWH76\SAMPLES\TESTRTF.PRG?.

Does it work with MSVC2012?.

I am afraid not every company perform our intense tests before delivering and application ;).

The harder we test it, less support troubles we have ;).

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

Re: bugs FWH64

Postby Antonio Linares » Wed Jul 24, 2013 3:11 pm

Lucas,

I think I solved it :-)

That DLL works fine on 64 bits (Microsoft misteries...)

and samples/testrich.prg is already fine :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42093
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: bugs FWH64

Postby lucasdebeltran » Wed Jul 24, 2013 3:18 pm

Antonio,

Great news !!!.

You are the Master.

Please, can you indicate me the fix?.

Thank you very much.
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

Re: bugs FWH64

Postby Antonio Linares » Wed Jul 24, 2013 3:36 pm

This is working with VS2012 and FWH 64. Now I will start rebuilding it for VC2010.

Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42093
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: bugs FWH64

Postby Antonio Linares » Wed Jul 24, 2013 3:38 pm

Lucas,

You can't fix it from there. You need new libs from me, sorry. Its a complex code that can't be patched.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42093
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: bugs FWH64

Postby Antonio Linares » Wed Jul 24, 2013 3:41 pm

Lucas,

Also, if you use sentences like: DLL FUNCTION ... and if pointers are supplied as parameters they may not work, as in those cases we still have to implement LONGLONG support.

We do use them from image.prg and it is not solved yet. If you need this feature now, I am afraid its not ready for you yet.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42093
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: bugs FWH64

Postby lucasdebeltran » Wed Jul 24, 2013 3:47 pm

Antonio,

TImage seems to be working as I use Ribbon in 64 bits.

And as I use TIMage too, it is working fine.

Where is the problem?.

This function also Works fine under FWH64:

//--------------------------------------------------------------------------------------------------
FUNCTION URLDownLoad(cUrl, cSaveAs)
//--------------------------------------------------------------------------------------------------
sysrefresh()

if !URLDownloadToFile( 0, cUrl, cSaveAs, 0, 0 ) == 0
retu.f.
endif

retu.t.
//--------------------------------------------------------------------------------------------------



DLL32 FUNCTION URLDownloadToFile(pCaller AS LONG,szURL AS STRING, szFileName AS STRING, dwReserved AS LONG, lpfnCB AS LONG) ;
AS LONG PASCAL;
FROM "URLDownloadToFileA";
LIB "urlmon.dll"



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

Re: bugs FWH64

Postby Antonio Linares » Wed Jul 24, 2013 4:21 pm

Lucas,

Those problems only manifest on Windows 8, on Windows 7 is ok. As I mentioned before I have found some internal differences between them, but we have solved them already.

Now I am trying to find IRichEditOleCallbackVtbl for VC2010, it seems as it is not available there. VS2012 compiles it fine.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42093
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: bugs FWH64

Postby Antonio Linares » Wed Jul 24, 2013 4:37 pm

Problem solved, with VS2010 seems as it has to be compiled in C mode (just richedit internals).

VS2012 compiles it fine in C++ mode.

We are building FWH 64 and Harbour in C++ mode (/TP) instead of (/TC) C mode.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42093
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: bugs FWH64

Postby lucasdebeltran » Wed Jul 24, 2013 4:51 pm

Great work, Master.

Can you please send me the libs for MSVC2010?.

Thank you.
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

Re: bugs FWH64

Postby Antonio Linares » Wed Jul 24, 2013 5:45 pm

Lucas,

already sent, check your email :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42093
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: bugs FWH64

Postby lucasdebeltran » Wed Jul 24, 2013 5:48 pm

Antonio,

Sorry, but I haven´t received at my gmail account.

Thank you.
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

Re: bugs FWH64

Postby Antonio Linares » Wed Jul 24, 2013 6:00 pm

Lucas,

It should be in your mailbox, please check it again :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42093
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

PreviousNext

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 100 guests