Bug in TActiveX 64 bit

Bug in TActiveX 64 bit

Postby Enrico Maria Giordano » Sun Sep 01, 2024 4:16 pm

This sample works fine in 32 bit (MSC32 and BCC32) but crashes in 64 bit (MSC64 and BCC64). Can you understand why?

Code: Select all  Expand view  RUN
#include "Fivewin.ch"


FUNCTION MAIN()

    LOCAL oWnd, oActX

    DEFINE WINDOW oWnd

    oActX = TActiveX():New( oWnd, "Shell.Explorer" )

    oWnd:oClient = oActX

    oActX:Do( "Navigate", "http://www.emagsoftware.it" )

    ACTIVATE WINDOW oWnd

    RETURN NIL
User avatar
Enrico Maria Giordano
 
Posts: 8725
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Bug in TActiveX 64 bit

Postby Antonio Linares » Mon Sep 02, 2024 6:58 am

Dear Enrico,

Here it is working fine using Harbour and FWH 24.07 with MSVC64 also with bcc77 64:

go to FWH\samples:

buildh64.bat enrico

build64.bat enrico

It seems to crash just using xHarbour
regards, saludos

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

Re: Bug in TActiveX 64 bit

Postby Enrico Maria Giordano » Mon Sep 02, 2024 9:26 am

Yes, it works fine with Harbour but not with xHarbour. Any ideas?
User avatar
Enrico Maria Giordano
 
Posts: 8725
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Bug in TActiveX 64 bit

Postby Enrico Maria Giordano » Mon Sep 02, 2024 9:28 am

It crashes on exit even with Harbour. I get the following log:

Code: Select all  Expand view  RUN
Application Internal Error - E:\FWXHARB\PEPPE.EXE
Terminated at: 2024-09-02 11:27:16
Unrecoverable error 6005: Exception error:

    Exception Code:C0000005 ACCESS_VIOLATION
    Exception Address:0000000000000071
    RAX:0000000000000071  RBX:0000000000000000  RCX:00000259FF0BB200  RDX:000000875D4FE128
    RSI:0000000000000000  RDI:000000875D4FE180  RBP:000000875D4FE100
    R8 :0000000000000112  R9 :00007FFB14140400  R10:FD41B67356DAD870  R11:00000259FD5F4950
    R12:000000875D4FE600  R13:0000000000000000  R14:000000875D4FE1C8  R15:0000000000000000
    CS:RIP:0033:0000000000000071  SS:RSP:002B:000000875D4FE0A8
    DS:002B  ES:002B  FS:0053  GS:002B
    Flags:00010206
    Exception Parameters: 0000000000000008 0000000000000071
User avatar
Enrico Maria Giordano
 
Posts: 8725
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Bug in TActiveX 64 bit

Postby Antonio Linares » Mon Sep 02, 2024 11:54 am

Dear Enrico,

We were testing a change in FWH internal activex module

Please git pull and rebuild again. Now it is working fine
regards, saludos

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



Return to Bugs report & fixes / Informe de errores y arreglos

Who is online

Users browsing this forum: No registered users and 3 guests