Click here to Skip to main content
15,915,513 members
Home / Discussions / COM
   

COM

 
QuestionHow to use my COM object in a VS2003 - MFC exe? Pin
jayart5-Jun-07 6:32
jayart5-Jun-07 6:32 
QuestionCOM Delegation in ASP.NET Pin
Talal Sultan4-Jun-07 23:45
Talal Sultan4-Jun-07 23:45 
QuestionAbout COM Pin
vijay_834-Jun-07 19:13
vijay_834-Jun-07 19:13 
AnswerRe: About COM Pin
CPallini4-Jun-07 20:52
mveCPallini4-Jun-07 20:52 
AnswerRe: About COM Pin
Michael Dunn5-Jun-07 19:04
sitebuilderMichael Dunn5-Jun-07 19:04 
QuestionConfusion Pin
SoftDeveloper3-Jun-07 22:21
SoftDeveloper3-Jun-07 22:21 
AnswerRe: Confusion Pin
Steve S4-Jun-07 21:22
Steve S4-Jun-07 21:22 
QuestionGUID Pin
john56321-Jun-07 23:32
john56321-Jun-07 23:32 
Hi Experts,

I want to create instance of a inteface(IPropertyBag) ,defind in a ProfMan.dll file so that i can use Add() method define in this interface.
And same name interface exist in ocidl.h file.How can i pass a correct GUID
so that i can access method defind in ProfMan.dll.

i try like this

IPropertyBag* Properties;
hr=CoCreateInstance(__uuidof(PropertyBag),NULL,CLSCTX_INPROC_SERVER,
__uuidof(IPropertyBag),(void**) &Properties);


I took help from visual studio ole to see the id of interface and coclass.
Then i write the following code

const GUID CLSID_IPropertBag ={0x47000673,0x7DB2,0x44C9,
{0x8A,0xC1,0x65,0x26,0x61,0x17,0xD2,0x80}};


const GUID CLSID_PropertBag={0xFC583D50,0xA2F5,0x4656,
{0x8B,0x1D,0x36,0x04,0x88,0xB1,0x83,0xD3}};

hr=CoCreateInstance(CLSID_PropertBag,NULL,CLSCTX_INPROC_SERVER,
CLSID_IPropertBag,(void**) &Properties);

But this time i am unable to access the Add method.

How can i resolve the problrm.
Help me.
AnswerRe: GUID Pin
CPallini3-Jun-07 22:32
mveCPallini3-Jun-07 22:32 
QuestionDll redirection vs side by side installation Pin
tom groezer1-Jun-07 10:04
tom groezer1-Jun-07 10:04 
QuestionCan not create activex component Pin
riteshfirst1-Jun-07 1:24
riteshfirst1-Jun-07 1:24 
Questiongenerating a stub dll from a tlb Pin
NikoTanghe31-May-07 4:01
NikoTanghe31-May-07 4:01 
QuestionCoTaskMemRealloc Pin
bvivekb4u31-May-07 1:21
bvivekb4u31-May-07 1:21 
AnswerRe: CoTaskMemRealloc Pin
CPallini31-May-07 2:07
mveCPallini31-May-07 2:07 
QuestionHow to implement ISimpleFrameSite in activex control by VC++ Pin
a.thanomsak29-May-07 17:34
a.thanomsak29-May-07 17:34 
QuestionC++ to C# array Pin
Stevo Z29-May-07 3:59
Stevo Z29-May-07 3:59 
AnswerRe: C++ to C# array Pin
CPallini29-May-07 4:09
mveCPallini29-May-07 4:09 
GeneralRe: C++ to C# array Pin
Stevo Z29-May-07 4:16
Stevo Z29-May-07 4:16 
Questionweird error Pin
imanos28-May-07 23:36
imanos28-May-07 23:36 
AnswerRe: weird error Pin
CPallini28-May-07 23:45
mveCPallini28-May-07 23:45 
AnswerRe: weird error Pin
imanos29-May-07 0:39
imanos29-May-07 0:39 
QuestionFetching Undelivered Mail From Outllook Through ASP.NET 2.0 Pin
varshavmane28-May-07 20:33
varshavmane28-May-07 20:33 
QuestionDifference between ordinary DLL and COM DLL? Pin
Nandu_77b28-May-07 2:37
Nandu_77b28-May-07 2:37 
AnswerRe: Difference between ordinary DLL and COM DLL? Pin
CPallini28-May-07 2:59
mveCPallini28-May-07 2:59 
GeneralRe: Difference between ordinary DLL and COM DLL? Pin
Nandu_77b30-May-07 1:19
Nandu_77b30-May-07 1:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.