Page 4 of 5

Re: Problems with an application using ADO

PostPosted: Tue Jun 11, 2013 6:03 pm
by James Bott
resource leak


I ...oh, never-mind.

James :-)

Re: Problems with an application using ADO

PostPosted: Tue Jun 11, 2013 11:01 pm
by TimStone
I just got referred here from my other post.

I will test this solution shortly.

The problem occurs with Harbour and MSVC
The problem does not occur with xHarbour (.com )

I only use DBF's, no ADO

Re: Problems with an application using ADO

PostPosted: Tue Jun 11, 2013 11:25 pm
by Enrico Maria Giordano
Tim,

TimStone wrote:I just got referred here from my other post.

I will test this solution shortly.

The problem occurs with Harbour and MSVC
The problem does not occur with xHarbour (.com )

I only use DBF's, no ADO


The problem is independent from Harbour/xHarbour and from ADO/DBF. It's only very random. I never see it in my XP, go figure.

EMG

Re: Problems with an application using ADO

PostPosted: Tue Jun 11, 2013 11:35 pm
by James Bott
The problem is independent from Harbour/xHarbour and from ADO/DBF.


If it was a resource leak, it would be independent of the above. I'm not sure why it would not happen under XP though.

James

Re: Problems with an application using ADO

PostPosted: Tue Jun 11, 2013 11:36 pm
by TimStone
I have two builds from the same code.

The first is with xHarbour.com and it never locks up
The second is with Harbour/MSVC and it does have the problem.

The code is almost 100% identical ( except for a couple of functions Antonio had me add to the xHarbour version ).

Tim

Re: Problems with an application using ADO

PostPosted: Wed Jun 12, 2013 12:14 am
by Antonio Linares
Tim,

That is a perfect ocassion to use the low level Visual C debugger as I explained some days ago.

You could run your app from such debugger and when it crahs we could perfectly see the low level C calls stack, to get a much better idea whats going on

Re: Problems with an application using ADO

PostPosted: Wed Jun 12, 2013 3:20 am
by TimStone
I want to do that but I've been really busy. The fix suggested in this thread seems to have resolved the problem. I let it sit idle for a couple of hours and it still worked fine. That likely is a change that needs to be implemented in the xHarbour build of the libs.

Tim

Re: Problems with an application using ADO

PostPosted: Wed Jun 12, 2013 3:44 am
by nageswaragunupudi
Friends,

I tested ribbon.prg after applying the fixes for the tmsgitem.prg suggested above.
Both with Harbour and xHarour the exe is not freezing.
Can other friends also take the trouble of testing and comfirm ?

Re: Problems with an application using ADO

PostPosted: Wed Jun 12, 2013 8:26 am
by Enrico Maria Giordano
NageswaraRao,

nageswaragunupudi wrote:Friends,

I tested ribbon.prg after applying the fixes for the tmsgitem.prg suggested above.
Both with Harbour and xHarour the exe is not freezing.
Can other friends also take the trouble of testing and comfirm ?


Yes, it looks like the suggested fix in tmsgitem.prg is the correct one. Thank you! :-)

EMG

Re: Problems with an application using ADO

PostPosted: Wed Jun 12, 2013 9:25 am
by StefanHaupt
Should this fix be applied to older versions of fwh, too ?

Re: Problems with an application using ADO

PostPosted: Wed Jun 12, 2013 10:04 am
by nageswaragunupudi
StefanHaupt wrote:Should this fix be applied to older versions of fwh, too ?

No
Only FWH 13.05.

Re: Problems with an application using ADO

PostPosted: Wed Jun 12, 2013 1:11 pm
by James Bott
Is the fix now in the current 13.05 download?

Re: Problems with an application using ADO

PostPosted: Wed Jun 12, 2013 1:43 pm
by Antonio Linares
James,

No, it is not and should be, so we are going to publish a revised FWH 13.05 version.

Thanks to all of you for your feedback and help :-)

Re: Problems with an application using ADO

PostPosted: Wed Jun 12, 2013 2:57 pm
by Antonio Linares
There is a revised FWH 13.05 (32 and 64) build already availables, thanks :-)

Re: Problems with an application using ADO

PostPosted: Wed Jun 12, 2013 3:57 pm
by lucasdebeltran
Antonio,

Have you included tDatarow bugfixes?.

And xBrowse´s Font problema?.

Thanks.