Quote: |
Exception: C0000005 at 00478D9A EXCEPTION_ACCESS_VIOLATION reading at 00000036 |
int Prompt(Callback1<const String&> WhenLink, const char *title, const Image& iconbmp, const char *qtf, bool okcancel, const char *button1, const char *button2, const char *button3, int cx, Image im1, Image im2, Image im3) ... Vector<Ctrl *> wins = Ctrl::GetTopWindows(); for(int i = 0; i < wins.GetCount(); i++) { TopWindow *w = dynamic_cast<TopWindow *>(wins[i]); !!!! if(w->GetScreenRect().Intersects(dlg.GetScreenRect()) && w->IsTopMost()) { dlg.TopMost(); break; } }
TopWindow *w = dynamic_cast<TopWindow *>(wins[i]); if(w && w->GetScreenRect().Intersects(dlg.GetScreenRect()) && w->IsTopMost()) { dlg.TopMost(); break; }
TopWindow *w = dynamic_cast<TopWindow *>(wins[i]); if(w && w->GetScreenRect().Intersects(dlg.GetScreenRect()) && w->IsTopMost()) { dlg.TopMost(); break; }