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. COM
  4. Difficulty in creating object of IMAPI

Difficulty in creating object of IMAPI

Scheduled Pinned Locked Moved COM
c++helplearningworkspace
3 Posts 2 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.
  • K Offline
    K Offline
    kanduripavan
    wrote on last edited by
    #1

    NEED HELP WITH WORKING IMAPI OBJECTS hi, I want to work with IMAPI INTERFACES. I am working in win xp with sp2 installed in Visual C++ 6.0 environment. I wrote a sample code just to access IDiscmaster interface ptr. The error comes in CoCreateInstance. I searched in my hard disk IMAPI.H i cannot find it. so //CLSID CLSID_DISCMASTER; //HRESULT hr = S_OK; //hr = CoCreateInstance(CLSID_DISCMASTER, NULL, 1, IID_Unknown, (void**) ppUnk); //or i tried this also //hr = CoGetClassObject(CLSID_DISCMASTER,CLSCTX_INPROC_SERVER, NULL, IID_IClassFacory, (void**) &ppCf); //Both are failing why can u just help me regarding this. thank you, A beginner

    S 1 Reply Last reply
    0
    • K kanduripavan

      NEED HELP WITH WORKING IMAPI OBJECTS hi, I want to work with IMAPI INTERFACES. I am working in win xp with sp2 installed in Visual C++ 6.0 environment. I wrote a sample code just to access IDiscmaster interface ptr. The error comes in CoCreateInstance. I searched in my hard disk IMAPI.H i cannot find it. so //CLSID CLSID_DISCMASTER; //HRESULT hr = S_OK; //hr = CoCreateInstance(CLSID_DISCMASTER, NULL, 1, IID_Unknown, (void**) ppUnk); //or i tried this also //hr = CoGetClassObject(CLSID_DISCMASTER,CLSCTX_INPROC_SERVER, NULL, IID_IClassFacory, (void**) &ppCf); //Both are failing why can u just help me regarding this. thank you, A beginner

      S Offline
      S Offline
      Steve S
      wrote on last edited by
      #2

      You need the Feb 2003 Platform SDK, which was the last issue 'guaranteed' to work with VC6. I believe you can download it from here[^] Steve S Developer for hire

      K 1 Reply Last reply
      0
      • S Steve S

        You need the Feb 2003 Platform SDK, which was the last issue 'guaranteed' to work with VC6. I believe you can download it from here[^] Steve S Developer for hire

        K Offline
        K Offline
        kanduripavan
        wrote on last edited by
        #3

        Thank u steve, I stepped my first step sucessfully in creating a instance of MSDiscMaster. I got it and thanks for u that u guided me nicely. I have to Yet get that sdk. Yesterday i tried to create an instance and when i patiently tried to debug where i went i wrong and i found that i am creating a wrong instance from the registry key.Thank u very much for patiently helping me in this. Yours truly, K.Pavan

        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