Click here to Skip to main content
15,913,090 members
Home / Discussions / COM
   

COM

 
GeneralQueryInterface() Pin
skruss14-May-04 13:40
skruss14-May-04 13:40 
GeneralRe: QueryInterface() Pin
ekklesia15-May-04 5:44
ekklesia15-May-04 5:44 
GeneralRe: QueryInterface() Pin
skruss25-May-04 11:59
skruss25-May-04 11:59 
GeneralRe: QueryInterface() Pin
Jörgen Sigvardsson15-May-04 13:21
Jörgen Sigvardsson15-May-04 13:21 
GeneralBeginning with COM or COM+ Pin
Mekong River13-May-04 15:48
Mekong River13-May-04 15:48 
GeneralUSES_CONVERSION Pin
monrobot1313-May-04 11:35
monrobot1313-May-04 11:35 
GeneralRe: USES_CONVERSION Pin
Andrew Quinn AUS17-May-04 5:22
Andrew Quinn AUS17-May-04 5:22 
GeneralRe: USES_CONVERSION Pin
Roger Stoltz17-May-04 11:35
Roger Stoltz17-May-04 11:35 
monrobot13 wrote:
I'm trying to use the conversion macros (OLE2A, OLE2CA, etc) and I know I need to add the USES_CONVERSION macro, but where do I put it? I put it in my header file and I keep getting compiler errors that a bunch of the variables it declares are missing their type-specifiers and such. Am I doing something wrong? Thanks.

You place the USES_CONVERSION macro inside every function definition that will use conversion macros.
For further reading I suggest Chris Maunder's article about "Unicode, MCBS and Generic text mappings" at http://www.codeproject.com/cpp/unicode.asp

monrobot13 wrote:
Also, this is off topic from the subject, but is there anything like CString for ATL?

If you want something that comes with the ATL library I can't think of anything besides the CComBSTR, but I guess that is not what you are looking for.

--
Roger
GeneralRe: USES_CONVERSION Pin
Steve S17-May-04 23:26
Steve S17-May-04 23:26 
GeneralRe: USES_CONVERSION Pin
Roger Stoltz18-May-04 0:20
Roger Stoltz18-May-04 0:20 
GeneralRe: Thanks Everyone Pin
monrobot1320-May-04 6:49
monrobot1320-May-04 6:49 
GeneralWriting files simultaneously Pin
13-May-04 0:14
suss13-May-04 0:14 
GeneralInterface Methods Pin
monrobot1312-May-04 18:47
monrobot1312-May-04 18:47 
GeneralRe: Interface Methods Pin
Roger Stoltz12-May-04 22:14
Roger Stoltz12-May-04 22:14 
GeneralRe: Interface Methods Pin
monrobot1313-May-04 11:01
monrobot1313-May-04 11:01 
GeneralRe: Interface Methods Pin
Milton Karimbekallil12-May-04 23:13
Milton Karimbekallil12-May-04 23:13 
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 
GeneralRe: BSTR Pin
Anonymous9-May-04 19:49
Anonymous9-May-04 19:49 

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.