I found in C++ in here:
http://www.codeguru.com/Cpp/controls/richedit/article.php/c5383/
did anyone had make it in MASM too?
other topics:
http://msdn.microsoft.com/en-us/library/dd387916
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q141549
http://www.masm32.com/board/index.php?PHPSESSID=4897f13b179b4ba20c38a75348f9f037&topic=5612.0;prev_next=prev
http://support.microsoft.com/default.aspx?scid=kb;en-us;220844
http://blog.csdn.net/happyhell/archive/2009/06/12/4263313.aspx
See http://www.masm32.com/board/index.php?topic=5677.0
I haven't tried it myself; RichMasm can embed images but I use another mechanism.
I always have problem when try to get each interface. :dazzled:
Example:
assume esi:ptr IRichEditOle
invoke [esi].GetObjectCount,lpOleInterface
in the screen appear:
error A2006: undefined symbol : GetObjectCount
or maybe:
mov esi,lpOleInterface
mov esi,dword ptr [esi]
assume esi:ptr IRichEditOle
invoke [esi].GetClientSite,lpOleInterface,addr lpClientSite
cmp lpClientSite,0
in the screen appear:
error A2006: undefined symbol : GetClientSite
so, how to get interface correctly in MASM? ::)
:dazzled:
from what i can see, IRichEditOle and GetObjectCount are COM functions - not data structures/members
i would try to find some way other than COM to implement rich edit