Yes, i'm using fwh 17.07
Yes, i'm using fwh 17.07
Again, the process of elimination:
Harbour = Same Version
xHarbour = Same Version
FWH 17.07 installed
All external libraries remain the same
Source code remains the same
Substitute datamanager.prg from 17.06 and the problem is fixed. Take it away, allowing datamanager from 17.07, and problem returns.
I'm not seeing how that can be something else ... but then it is Friday afternoon after too much time looking at a computer.
Yes, even for me, using Tdatabase from 17.04, all seems ok and < Close clients > always works.
PROCEDURE td_destroy() CLASS TDataBase
// ::End()
RETURNThis method was recently added to Clase TDataBase:
METHOD End() INLINE ::Close()
Tim, Please remove it and try your app again, thanks
>>>Error BASE/1004 Message not found: TDATABASE:END
Errore avvenuto il 01/09/17, alle 13:19:15
Chiamato da: .\source\function\HARBOUR.PRG => _CLSSETERROR( 247 )
Chiamato da: C:\fwh\source\classes\database.prg => TDATABASE:END( 913 )
Chiamato da: C:\fwh\source\classes\database.prg => TDATABASE:__DESTRUCTOR( 1360 )
Chiamato da: => TDATABASE:CLASSH( 0 )Ok, removing method End and the call to ::End in td_destroy(), is ok.
Or modify it this way:
METHOD End() VIRTUAL
I just did a complete FWH\Source file search, and the only place td_destroy( ) is found is in tDatabase.prg
Tim,
Try putting a msgInfo() inside the TD_Destroy procedure (before the ::end() ) and link the revised class into your code. Then recreate the error and see if the message pops up.
I would do it myself, but I have still been unable to recreate the error.
James
James Bott wrote:Tim,unfortunately Im heading out for a few days
Try putting a msgInfo() inside the TD_Destroy procedure (before the ::end() ) and link the revised class into your code. Then recreate the error and see if the message pops up.
I would do it myself, but I have still been unable to recreate the error.
James
Tim,
The thought just occurred to me that it is possible that Windows is calling the destroy procedure. That could explain not finding a call anywhere in the FWH code, but it still getting called.
Have a great trip!
James
Actually heading your way ... to Carlsbad ...
James,
In my test, opening first DLG1 that uses TDatabase, the MsgInfo appears twice before showing dialog and Xbrowse.
If I then open Dlg2 (which uses a dbf), I see the message closing.
If I first open the DLG2, no message is shown.
A bit complex...