Bug Maria_Connect() FWH-24.07 64 bits ???


Re: Bug Maria_Connect() FWH-24.07 64 bits ???

Postby Enrico Maria Giordano » Thu Sep 26, 2024 9:37 pm

As a resume:

Code: Select all  Expand view
TEST HB_GCALL()

MSC32: OK
MSC64: CRASH
BCC32: OK
BCC64: CRASH
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Bug Maria_Connect() FWH-24.07 64 bits ???

Postby Enrico Maria Giordano » Fri Sep 27, 2024 10:25 am

What is this method for?

Code: Select all  Expand view
fwmariarowset_Destroy()


If I remove it the crash goes away. And also if I replace DESTRUCTOR with METHOD.
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Bug Maria_Connect() FWH-24.07 64 bits ???

Postby Enrico Maria Giordano » Fri Sep 27, 2024 11:04 am

In fwmariarowset_Destroy(), if I put

Code: Select all  Expand view
? k


the result is

Code: Select all  Expand view
4171717171


Something wrong here...
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Bug Maria_Connect() FWH-24.07 64 bits ???

Postby nageswaragunupudi » Mon Sep 30, 2024 11:53 am

Can we restrict the destructor method not to work with xHarbour 64 bits only?
Let me try
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10624
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Re: Bug Maria_Connect() FWH-24.07 64 bits ???

Postby nageswaragunupudi » Mon Sep 30, 2024 12:42 pm

At the top of the module

Code: Select all  Expand view
#ifdef __XHARBOUR__
#ifdef __64__
#define __XHARBOUR64__
#endif
#endif


Code: Select all  Expand view
#ifndef __XHARBOUR64__
   DESTRUCTOR fwmariarowset_Destroy()
#endif


Next apply the same condition to the entire body of the Procedure

Do you think this should be ok?
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10624
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Bug Maria_Connect() FWH-24.07 64 bits ???

Postby Enrico Maria Giordano » Mon Sep 30, 2024 1:05 pm

Yes, I think so. But the question is: why do you need an explicit destructor?
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

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