I have writen a Demo with VC7.1 , but where have a bug,
In file " radEditVC.cpp " , if I uncomment line 239 and line 241,
the program will crash , the reason is buffer overflow.
I think it is a bug about radAsm Edit control.
It is right?
Free2000fly
I have Fixed it , thanks
In file " radEditVC.cpp " , if I uncomment line 239 and line 241,
the program will crash , the reason is buffer overflow.
I think it is a bug about radAsm Edit control.
It is right?
Free2000fly
I have Fixed it , thanks
In my think, in file RAEdit.h, your struct RACOLOR does not have the last member: COLORREF numcol; So, when you call SendMessage(hRaEditWnd, REM_GETCOLOR, 0, (LPARAM)&raColor), the variable lpCreateStruct created on stack will be overwrited.
Best regards
TQN
Best regards
TQN
Hi TQN,
I have Fixed the bug, thanks.
free2000fly
I have Fixed the bug, thanks.
free2000fly
Hi free2000fly
Thanks, great demo. I have put it on my website.
KetilO
Thanks, great demo. I have put it on my website.
KetilO