Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » [SOLVED] ERROR: Not in table (destructor clobbered?) (Facing this exception, and the dtor doesn't get called)
Re: ERROR: Not in table (destructor clobbered?) [message #52788 is a reply to message #52781] Mon, 25 November 2019 00:06 Go to previous messageGo to previous message
Oblivion is currently offline  Oblivion
Messages: 1226
Registered: August 2007
Senior Contributor
Hello Frank,

I can't really comment much on the cause of the actual error as I don't have a sample code to inspect, but what you describe here might be caused by the text your code passes to Prompt. (PromptOK).

AFAIk, the "Not in table" error is thrown when a qtf text doesn't contain a required element, or by a malformed qtf text.

When you pass a C string (a string with typical whitespaces or ANSI control codes (a chr < 0x20), or a string that can have characters used in QTF commands, such as "[", etc.) to a QTF-native widgets, e.g prompts, etc., you need to use DeQtf() function to escape the aforementioned control codes:

E.g.
String text = "Hello world\nThis is U++";
PromptOK(DeQtf(text));


Best regards,
Oblivion.


[Updated on: Mon, 25 November 2019 00:16]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [SOLVED] Do Value can store anonymous function ?
Next Topic: [solved] Register a callback on "when window resized" ?
Goto Forum:
  


Current Time: Mon Aug 25 03:50:34 CEST 2025

Total time taken to generate the page: 0.05772 seconds