Search found 83 matches: intermittant

Return to advanced search

Re: Intermittant xBrowse ADO error ( again )

Probably is the FWH level XBrowse object that errors out, not the Windows API level control. Anyway, I already explained what the problem is.

EMG
by Enrico Maria Giordano
Fri Aug 14, 2009 8:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant xBrowse ADO error ( again )
Replies: 61
Views: 13142

Re: Intermittant xBrowse ADO error ( again )

Enrico,

>No. A destroyed control is not functioning and all references to it are invalidated. You can still use them but you just get nothing (no runtime errors and no effects).

Hmm, then how do you explain that version 9.05 is erroring out with a runtime error?

James
by James Bott
Fri Aug 14, 2009 2:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant xBrowse ADO error ( again )
Replies: 61
Views: 13142

Re: Intermittant xBrowse ADO error ( again )

Mr EMG and Mr James Instead of using array, please test with this example using DBF Ok, the problem is that in SetRDD() method and maybe in other places of xbrowse.prg the member variable cAlias is used without a test for !Empty(). After these fixes will be made you can use oBrw:cAlias := NIL to so...
by Enrico Maria Giordano
Fri Aug 14, 2009 10:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant xBrowse ADO error ( again )
Replies: 61
Views: 13142

Re: Intermittant xBrowse ADO error ( again )

I'm sorry I don't understand what you are saying. The browse has been "destroyed" but it is still exists and is still functioning. That is why it is erroring out. No. A destroyed control is not functioning and all references to it are invalidated. You can still use them but you just get n...
by Enrico Maria Giordano
Fri Aug 14, 2009 9:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant xBrowse ADO error ( again )
Replies: 61
Views: 13142

Re: Intermittant xBrowse ADO error ( again )

Rao, James I have the same Paint() method and am now using 9.06 .. I have re-compiled the app and seperated the problem lines in setado so if I do get an error .. I can more easily track it to a specific line : //------------------------------------------------------------------------------//METHOD ...
by Rick Lipkin
Thu Aug 13, 2009 12:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant xBrowse ADO error ( again )
Replies: 61
Views: 13142

Re: Intermittant xBrowse ADO error ( again )

Let us also have another look at the whole issue. We were all discussing this issue on the assumption that this error is occurring at the time of closing the window, because that is what Mr Rick said. From the error logs there is no evidence that the error is occurring at that time only. To share my...
by nageswaragunupudi
Thu Aug 13, 2009 12:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant xBrowse ADO error ( again )
Replies: 61
Views: 13142

Re: Intermittant xBrowse ADO error ( again )

Mr EMG and Mr James Instead of using array, please test with this example using DBF #include 'fivewin.ch'#include 'xbrowse.ch'function Main()   local oWnd, oBar   USE CUSTOMER   DEFINE Window oWnd   define buttonbar oBar of oWnd   define button of oBar action (oBrw:End(), CUSTOME...
by nageswaragunupudi
Wed Aug 12, 2009 11:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant xBrowse ADO error ( again )
Replies: 61
Views: 13142

Re: Intermittant xBrowse ADO error ( again )

But, couldn't we just use the existing lCreated flag, and just set it to false in the End method? Do we need the new lDataClosed flag, or is this just for clarity? Clarity is good though. Yes. We can. Thats what I posted in the beginning. It is just that the meaning of the statement :lCreated := .f...
by nageswaragunupudi
Wed Aug 12, 2009 11:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant xBrowse ADO error ( again )
Replies: 61
Views: 13142

Re: Intermittant xBrowse ADO error ( again )

Enrico, >The Display() method in your FWH release is causing an error, ok. But the reason of this error is not the browse that has been destroyed. I'm sorry I don't understand what you are saying. The browse has been "destroyed" but it is still exists and is still functioning. That is w...
by James Bott
Wed Aug 12, 2009 11:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant xBrowse ADO error ( again )
Replies: 61
Views: 13142

Re: Intermittant xBrowse ADO error ( again )

James Bott wrote:OK, but the FW code in the Display() method is still getting executed, thus the error.


The Display() method in your FWH release is causing an error, ok. But the reason of this error is not the browse that has been destroyed. Once more, we need of a clear sample.

EMG
by Enrico Maria Giordano
Wed Aug 12, 2009 11:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant xBrowse ADO error ( again )
Replies: 61
Views: 13142

Re: Intermittant xBrowse ADO error ( again )

Rao, Here is the TXBrowse:Display() method (ver 9.05): METHOD Display() CLASS TXBrowse   if !::lCreated      return nil   endif   ::BeginPaint()   ::Paint()   ::EndPaint()return 0 You proposed this modification: DATA lDataClosed INIT .f.METHOD End() INLINE ::l...
by James Bott
Wed Aug 12, 2009 9:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant xBrowse ADO error ( again )
Replies: 61
Views: 13142

Re: Intermittant xBrowse ADO error ( again )

Enrico, >You are calling a FWH level method that, in turn, calls some Windows API level functions using an invalid handle. There are no runtime errors for such situations. OK, but the FW code in the Display() method is still getting executed, thus the error. So how do we prevent the program from ...
by James Bott
Wed Aug 12, 2009 9:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant xBrowse ADO error ( again )
Replies: 61
Views: 13142

Re: Intermittant xBrowse ADO error ( again )

But if you then issue a oBrw:display() there is no error. What does this mean? You are calling a FWH level method that, in turn, calls some Windows API level functions using an invalid handle. There are no runtime errors for such situations. For example, you can call ShowWindow( 12345, SW_HIDE ) ob...
by Enrico Maria Giordano
Wed Aug 12, 2009 9:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant xBrowse ADO error ( again )
Replies: 61
Views: 13142

Re: Intermittant xBrowse ADO error ( again )

Enrico, >It send WM_CLOSE message to the control (Windows API level) effectively destroying it. But if you then issue a oBrw:display() there is no error. What does this mean? >>James Bott wrote: >>I am going to email my test program to you to see if it errors out for you. >Ok, but ...
by James Bott
Wed Aug 12, 2009 8:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant xBrowse ADO error ( again )
Replies: 61
Views: 13142

Re: Intermittant xBrowse ADO error ( again )

I received your EXE. It errors out here too but, as I said, I can't see what the real problem is, sorry.

EMG
by Enrico Maria Giordano
Wed Aug 12, 2009 8:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant xBrowse ADO error ( again )
Replies: 61
Views: 13142
Next

Return to advanced search

cron