Quantcast
Channel: FiveTech Software tech support forums
Viewing all articles
Browse latest Browse all 26233

Database - 17.07 - Problems

$
0
0
I tested the code posted by Mr Diego Decandia on Aug 25th and seen the problem. It is also true we do not see the problem if we remove the DESTRUCTOR method td_Destroy(). But removal of this method is not the right solution. This method did not create a new problem. In fact it brought to light that the present imlepemation of ::Close() method is [color=#FF0000:yvmx15wz][b:yvmx15wz]UNSAFE[/b:yvmx15wz][/color:yvmx15wz]. Surprisingly, it went unnoticed during all these years. Let us do this small test using FWH 17.06 or any older version. [code=fw:yvmx15wz][/code:yvmx15wz] So, we need to modify METHOD Close() not only in FWH 17.07 but in all earlier versions. Fix: For this line: [code=fw:yvmx15wz][/code:yvmx15wz] Substitute: [code=fw:yvmx15wz][/code:yvmx15wz] After this modification, retaining td_Destroy(), the problem pointed out in the sample is resolved. Some users may have a question in their minds. Is the DESTRUCTOR method td_Destroy() useful? Or is it reduntant or a hindrance? We will be discussing this in detail in the next posts.

Viewing all articles
Browse latest Browse all 26233

Trending Articles