C language > Tips & tricks

RichEdit OLE callback demo

(1/2) > >>

TimoVJL:
Here is simple richedit test with OLE callback for showing pictures too.
Please inform if you find errors.

EDIT: fix pointer passing

czerny:
Don't know if it is a bug or a feature, that a RETURN inserts a new row.

TimoVJL:
That's richedit feature.
There is still bug in pointer passing too.

jj2007:
Crashes on exit at 0x74dcc3a8 (Win XP SP3).
The instruction is call [ecx+8], and ecx=0.
Program terminates normally when the call [ecx+8] is disabled (but attention, there is a push eax before).

Otherwise a great demo - thumbs up 8)

TimoVJL:
least missing DestroyWindow(hEdit) at exit before FreeLibrary()

Navigation

[0] Message Index

[#] Next page

Go to full version