Click here to Skip to main content
15,919,479 members
Home / Discussions / COM
   

COM

 
GeneralRe: Interface Methods Pin
monrobot1313-May-04 11:02
monrobot1313-May-04 11:02 
GeneralMFC application to DCOM Pin
paulkned12-May-04 4:32
paulkned12-May-04 4:32 
Generaldifference between MIDL Compiler Versions 6.00.0361 and 5.01.0164 Pin
Tarundeep Singh Kalra10-May-04 20:04
Tarundeep Singh Kalra10-May-04 20:04 
Generalhelp Pin
Member 93959610-May-04 0:07
Member 93959610-May-04 0:07 
GeneralRe: help Pin
Tuwing.Sabado8-Jun-04 17:37
Tuwing.Sabado8-Jun-04 17:37 
GeneralCustom Interface in COM Exe Pin
shahzi9-May-04 23:05
shahzi9-May-04 23:05 
GeneralRe: Custom Interface in COM Exe Pin
Mike Dimmick10-May-04 2:04
Mike Dimmick10-May-04 2:04 
GeneralBSTR Pin
monrobot139-May-04 13:48
monrobot139-May-04 13:48 
First off I'm new to COM programming so maybe this question is foolish.

In the class I'm writing I need some strings so I'm using the CComBSTR class (I'm using ATL) for my strings. If I need to convert that item to a regular char can I use the OLE2A (and it's realated macros) to do this? I'm doing OLE2CA(bsString.Copy()) to convert it. Will this work?

Also are BSTR's the best types to use for function paramters when implementing the functions of the interface?

Thanks!

- Aaron
GeneralRe: BSTR Pin
Anonymous9-May-04 19:49
Anonymous9-May-04 19:49 
GeneralRe: BSTR Pin
monrobot1310-May-04 6:18
monrobot1310-May-04 6:18 
GeneralRe: BSTR Pin
Shaun Oldale11-May-04 2:55
Shaun Oldale11-May-04 2:55 
GeneralRe: BSTR Pin
monrobot1312-May-04 18:47
monrobot1312-May-04 18:47 
GeneralCOM+ Identity Pin
mtone7-May-04 7:46
mtone7-May-04 7:46 
GeneralRe: COM+ Identity Pin
Steve S7-May-04 8:29
Steve S7-May-04 8:29 
GeneralRe: COM+ Identity Pin
mtone7-May-04 9:08
mtone7-May-04 9:08 
GeneralRe: COM+ Identity Pin
Steve S9-May-04 21:30
Steve S9-May-04 21:30 
GeneralRe: COM+ Identity Pin
mtone10-May-04 2:32
mtone10-May-04 2:32 
GeneralRe: COM+ Identity Pin
Steve S10-May-04 4:13
Steve S10-May-04 4:13 
GeneralAsk for help Pin
Jim2004King7-May-04 4:35
Jim2004King7-May-04 4:35 
GeneralRe: Ask for help Pin
Lim Bio Liong8-May-04 0:08
Lim Bio Liong8-May-04 0:08 
GeneralRe: Ask for help Pin
Jim2004King8-May-04 2:08
Jim2004King8-May-04 2:08 
QuestionBug with Microsoft?? with HTMLObjectElementEvents?? Pin
JDasari5-May-04 12:41
JDasari5-May-04 12:41 
AnswerRe: Bug with Microsoft?? with HTMLObjectElementEvents?? Pin
Rob Manderson5-May-04 12:51
protectorRob Manderson5-May-04 12:51 
GeneralRe: Bug with Microsoft?? with HTMLObjectElementEvents?? Pin
JDasari7-May-04 8:31
JDasari7-May-04 8:31 
GeneralHowt to tap data from pipes in RPC Pin
pramodastro5-May-04 0:07
pramodastro5-May-04 0:07 

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.