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