NetTalk Central

Author Topic: Log File ASSERT Failure in ABFile.clw  (Read 7301 times)

CaseyR

  • Sr. Member
  • ****
  • Posts: 448
    • View Profile
    • Email
Log File ASSERT Failure in ABFile.clw
« on: August 05, 2013, 06:42:27 PM »
When the first connection is made after the app starts in debug mode,  there is an ASSERT message about using CLOSE instead of the FileManager.Close for the log file.   The ASSERT is in the FileCallBackInterface.FunctionCalled method in ABFile.clw (line 480).  Presumably from the NetWebServer.AddLog method.

It is a pretty minor issue, but it can pop up dozens of times a day and has for quite a while (since NT 6 ?).

Is there any way of avoiding this debug error short of removing the NetTalk Logging Controls or commenting out the ASSERT statement in ABFILE.clw? 

Thanks.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Log File ASSERT Failure in ABFile.clw
« Reply #1 on: August 06, 2013, 10:29:27 PM »
Personally I comment out the ASSERT in AbFile.
Compiling in "release" mode also works, but sometimes debug mode is useful.

cheers
Bruce


CaseyR

  • Sr. Member
  • ****
  • Posts: 448
    • View Profile
    • Email
Re: Log File ASSERT Failure in ABFile.clw
« Reply #2 on: August 07, 2013, 09:55:59 AM »
Thanks for the clarification, Bruce

I guess I will just comment out the ASSERT in development and uncomment it when doing final testing.