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

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

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

Post by Enrico Maria Giordano »

As a resume:

Code: Select all | Expand

TEST HB_GCALL()

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

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

Post by Enrico Maria Giordano »

What is this method for?

Code: Select all | Expand

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

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

Post by Enrico Maria Giordano »

In fwmariarowset_Destroy(), if I put

Code: Select all | Expand

? k
the result is

Code: Select all | Expand

4171717171
Something wrong here...
User avatar
nageswaragunupudi
Posts: 10691
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

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

Post by nageswaragunupudi »

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: 10691
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

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

Post by nageswaragunupudi »

At the top of the module

Code: Select all | Expand

#ifdef __XHARBOUR__
#ifdef __64__
#define __XHARBOUR64__
#endif
#endif

Code: Select all | Expand

#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
Enrico Maria Giordano
Posts: 8728
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

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

Post by Enrico Maria Giordano »

Yes, I think so. But the question is: why do you need an explicit destructor?
Post Reply