Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Extended MAPI GUID declaration problem

Extended MAPI GUID declaration problem

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Adam Gritt
    wrote on last edited by
    #1

    Has anyone here used the extended mapi interface? and if so do you know what has to be changed to use the GUID's that are declared in mapiguid.h? I have included everything the MSDN library specifies and have even defined the proper defines, but when I build I get the following error: EmailMessage.obj : error LNK2001: unresolved external symbol _IID_IMessage Can anyone help me?

    N 1 Reply Last reply
    0
    • A Adam Gritt

      Has anyone here used the extended mapi interface? and if so do you know what has to be changed to use the GUID's that are declared in mapiguid.h? I have included everything the MSDN library specifies and have even defined the proper defines, but when I build I get the following error: EmailMessage.obj : error LNK2001: unresolved external symbol _IID_IMessage Can anyone help me?

      N Offline
      N Offline
      nightcoder
      wrote on last edited by
      #2

      #include or #define INITGUID

      A 1 Reply Last reply
      0
      • N nightcoder

        #include or #define INITGUID

        A Offline
        A Offline
        Adam Gritt
        wrote on last edited by
        #3

        I included mapiguid.h mapix.h and #defined initguid and uses_iid_imapimessage and when I build I still get the error on the link.

        B 1 Reply Last reply
        0
        • A Adam Gritt

          I included mapiguid.h mapix.h and #defined initguid and uses_iid_imapimessage and when I build I still get the error on the link.

          B Offline
          B Offline
          Bo Hunter
          wrote on last edited by
          #4

          How about MapiDefs.h Thank You Bo Hunter

          A 1 Reply Last reply
          0
          • B Bo Hunter

            How about MapiDefs.h Thank You Bo Hunter

            A Offline
            A Offline
            Adam Gritt
            wrote on last edited by
            #5

            I included that as well and several other of the mapi includes. the error seems to be an issue of the lib files linked, but I included uuid.lib, mapi32.lib, ole32.lib, and oleaut32.lib.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups