News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

insert image to richedit

Started by elmo, April 30, 2011, 08:38:12 AM

Previous topic - Next topic

jj2007

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.

elmo

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?  ::)
be the king of accounting programmer world!

dedndave

 :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