I mean, I call use PromptOKCancel in static void Project::on_call() and my program is crash!
I want to know,
How to use PromptOKCancel in static function without crash ?
Thank You Very Much
Watchara Kangkun
Well, it should not crash in the first place.
If it does, there are two possible explanations:
- something else is wrong with your code - hard to say what
- there is a bug in U++
I guess that by creating a simple testcase, you can investigate both alternatives. If second one proves true, posting a testcase here will significantly speedup the fix.