Click here to Skip to main content
15,889,901 members
Home / Discussions / COM
   

COM

 
GeneralRe: ATL COM object.. Pin
Siva Sankar Koyi17-May-06 19:34
Siva Sankar Koyi17-May-06 19:34 
AnswerRe: ATL COM object.. Pin
Laxman Auti17-May-06 23:23
Laxman Auti17-May-06 23:23 
GeneralRe: ATL COM object.. Pin
Siva Sankar Koyi20-May-06 20:19
Siva Sankar Koyi20-May-06 20:19 
AnswerRe: ATL COM object.. Pin
Laxman Auti21-May-06 18:26
Laxman Auti21-May-06 18:26 
GeneralRe: ATL COM object.. Pin
Renjith Ramachandran26-May-06 4:58
Renjith Ramachandran26-May-06 4:58 
GeneralRe: ATL COM object.. Pin
Siva Sankar Koyi27-May-06 1:24
Siva Sankar Koyi27-May-06 1:24 
GeneralRe: ATL COM object.. Pin
Logan from Singapore20-Jun-06 21:57
Logan from Singapore20-Jun-06 21:57 
QuestionHow create a com object successfully! Pin
hdj831117-May-06 17:32
hdj831117-May-06 17:32 
Hello all:
I create a com object like follows:
IATLDiceHelpPtr pATLDiceHelp;
HRESULT hr = pATLDiceHelp.CreateInstance(__uuidof(IATLDiceHelp));
if(pATLDiceHelp)
{
pATLDiceHelp->MsgBox(); // here can not execute
pATLDiceHelp->Release();
}
when executethis code,the variable hr is -2147221164;
can everyone tell me why it is failure? and how to fixed it?Thanks a lot!

more information:
interface definition:
[
object,
uuid(C4892EC8-E170-426C-AB99-7E3B403B0324),
dual,
helpstring("IATLDiceHelp Interface"),
pointer_default(unique)
]
interface IATLDiceHelp : IDispatch
{
[id(1), helpstring("method MessageBox")] HRESULT MsgBox();
};

AnswerRe: How create a com object successfully! Pin
Stephen Hewitt17-May-06 18:00
Stephen Hewitt17-May-06 18:00 
AnswerRe: How create a com object successfully! Pin
Laxman Auti17-May-06 18:25
Laxman Auti17-May-06 18:25 
QuestionPIC 16F877A PROGRAMMING Pin
dbaabaa16-May-06 20:56
dbaabaa16-May-06 20:56 
AnswerRe: PIC 16F877A PROGRAMMING Pin
Roger Stoltz16-May-06 22:19
Roger Stoltz16-May-06 22:19 
AnswerRe: PIC 16F877A PROGRAMMING Pin
Steve S17-May-06 1:24
Steve S17-May-06 1:24 
GeneralRe: PIC 16F877A PROGRAMMING Pin
Roger Stoltz17-May-06 4:23
Roger Stoltz17-May-06 4:23 
GeneralRe: PIC 16F877A PROGRAMMING Pin
Steve S17-May-06 6:19
Steve S17-May-06 6:19 
GeneralRe: PIC 16F877A PROGRAMMING Pin
Roger Stoltz17-May-06 23:01
Roger Stoltz17-May-06 23:01 
GeneralRe: PIC 16F877A PROGRAMMING Pin
Steve S18-May-06 2:42
Steve S18-May-06 2:42 
GeneralRe: PIC 16F877A PROGRAMMING Pin
Roger Stoltz18-May-06 3:28
Roger Stoltz18-May-06 3:28 
GeneralRe: PIC 16F877A PROGRAMMING Pin
dbaabaa20-May-06 16:58
dbaabaa20-May-06 16:58 
QuestionAttachment problem outlook express Pin
HarishDixit16-May-06 20:27
HarishDixit16-May-06 20:27 
QuestionA Com compile error! Pin
hdj831116-May-06 16:19
hdj831116-May-06 16:19 
AnswerRe: A Com compile error! Pin
khan++16-May-06 19:08
khan++16-May-06 19:08 
AnswerRe: A Com compile error! Pin
Laxman Auti17-May-06 3:22
Laxman Auti17-May-06 3:22 
GeneralRe: A Com compile error! Pin
hdj831117-May-06 15:00
hdj831117-May-06 15:00 
AnswerRe: A Com compile error! Pin
Laxman Auti17-May-06 18:06
Laxman Auti17-May-06 18:06 

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.