Menu

#48 wxScintilla 1.69.2 crash on Win64

open
nobody
any (18)
5
2012-12-15
2007-09-27
Langhammer
No

Using wxScintilla with pointer definitions outside the 32bit bound cause a crash. The solution is to use uptr_t, sptr_t instead of ulong and long for WndProc, DefWndProc, wxScintilla::SendMsg and all type conversion. For example:
SendMsg(...,...,(long)(const char*)buf);
should be
SendMsg(...,...,(sptr_t)(const char*)buf);

Discussion


Log in to post a comment.