Click here to Skip to main content
15,921,028 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: what tool do u use to debug a COM object? Pin
Christian Graus15-Nov-02 22:36
protectorChristian Graus15-Nov-02 22:36 
GeneralRe: what tool do u use to debug a COM object? Pin
devvvy15-Nov-02 22:46
devvvy15-Nov-02 22:46 
GeneralRe: what tool do u use to debug a COM object? Pin
Christian Graus15-Nov-02 22:57
protectorChristian Graus15-Nov-02 22:57 
AnswerRe: what tool do u use to debug a COM object? Pin
Daniel Turini15-Nov-02 22:37
Daniel Turini15-Nov-02 22:37 
GeneralRe: what tool do u use to debug a COM object? Pin
devvvy15-Nov-02 22:41
devvvy15-Nov-02 22:41 
AnswerRe: what tool do u use to debug a COM object? Pin
ian mariano16-Nov-02 8:45
ian mariano16-Nov-02 8:45 
GeneralCOM - data types. confusing. Pin
devvvy15-Nov-02 21:39
devvvy15-Nov-02 21:39 
GeneralRe: COM - data types. confusing. Pin
Christian Graus15-Nov-02 21:50
protectorChristian Graus15-Nov-02 21:50 
norm wrote:
what the heck is OLECHAR?

It's a macro which in a Unicode build places an L next to the string like this

L"this is my value";

This has the effect of creating a Unicode string.

LPSTR is a long pointer to a string, I believe it's the same as char *. Microsoft like to 'create' types with MACRO's, I guess that means they can change them later ( like WPARAM and LPARAM ).

norm wrote:
_TEXT()
_T()


Never seen them before. Looks to me like member variables on an example string class in MSDN. They sometimes use _ instead of m_.

norm wrote:
if char is a Automation compliant data type, then why BSTR? and why Variant?

A BSTR is a wide string, you'd set one with the L from OLECHAR above, otherwise you get a char *. A _bstr_t wraps both types for you. A VARIANT is a whole different kettle of fish, it carries a lot more than just strings.


Christian

No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002

Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002

Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002
GeneralRe: COM - data types. confusing. Pin
Anonymous15-Nov-02 22:06
Anonymous15-Nov-02 22:06 
GeneralRe: COM - data types. confusing. Pin
Michael Dunn16-Nov-02 4:52
sitebuilderMichael Dunn16-Nov-02 4:52 
GeneralRe: COM - data types. confusing. Pin
devvvy16-Nov-02 8:21
devvvy16-Nov-02 8:21 
GeneralFloat Data Pin
TRae15-Nov-02 20:34
TRae15-Nov-02 20:34 
GeneralRe: Float Data Pin
Chris Losinger15-Nov-02 20:41
professionalChris Losinger15-Nov-02 20:41 
GeneralRe: Float Data Pin
Michael Dunn15-Nov-02 21:04
sitebuilderMichael Dunn15-Nov-02 21:04 
GeneralCTabCtrl and CListView Pin
Luke Murray15-Nov-02 19:52
Luke Murray15-Nov-02 19:52 
QuestionWhere can I find MEPG4 encode/decode samples? Pin
George215-Nov-02 19:43
George215-Nov-02 19:43 
AnswerRe: Where can I find MEPG4 encode/decode samples? Pin
ian mariano15-Nov-02 19:58
ian mariano15-Nov-02 19:58 
GeneralRe: Where can I find MEPG4 encode/decode samples? Pin
George215-Nov-02 22:18
George215-Nov-02 22:18 
AnswerRe: Where can I find MEPG4 encode/decode samples? Pin
Redeemer-dk15-Nov-02 23:51
Redeemer-dk15-Nov-02 23:51 
GeneralRe: Where can I find MEPG4 encode/decode samples? Pin
George216-Nov-02 3:06
George216-Nov-02 3:06 
GeneralCreating Waitable Timers Pin
Anonymous15-Nov-02 18:37
Anonymous15-Nov-02 18:37 
GeneralRe: Creating Waitable Timers Pin
ian mariano15-Nov-02 19:39
ian mariano15-Nov-02 19:39 
GeneralRe: Creating Waitable Timers Pin
Daniel Turini15-Nov-02 21:36
Daniel Turini15-Nov-02 21:36 
Generaladd another toolbar Pin
Anonymous15-Nov-02 16:37
Anonymous15-Nov-02 16:37 
QuestionHow to know when a process ends? Pin
IGx8915-Nov-02 15:41
IGx8915-Nov-02 15:41 

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.