Click here to Skip to main content
15,915,603 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: frame flashed Pin
Paul M Watt6-Jun-02 17:26
mentorPaul M Watt6-Jun-02 17:26 
GeneralScroll bars! Pin
wilche6-Jun-02 15:31
wilche6-Jun-02 15:31 
GeneralRe: Scroll bars! Pin
Ernest Laurentin6-Jun-02 19:44
Ernest Laurentin6-Jun-02 19:44 
GeneralRe: Scroll bars! Pin
wilche10-Jun-02 16:15
wilche10-Jun-02 16:15 
Generalgrid column resize Pin
BlackDogEngineering6-Jun-02 14:10
BlackDogEngineering6-Jun-02 14:10 
General_variant_t vs VARIANT Pin
6-Jun-02 13:11
suss6-Jun-02 13:11 
GeneralRe: _variant_t vs VARIANT Pin
Christian Graus6-Jun-02 13:20
protectorChristian Graus6-Jun-02 13:20 
GeneralRe: _variant_t vs VARIANT Pin
Paul M Watt6-Jun-02 17:40
mentorPaul M Watt6-Jun-02 17:40 
You can change the code that you have to this:

variant_t var;
var = ::SysAllocString(L"HelloWorld");


that is it. No initialization, it contains casting operators, and it will clean up the mess.

BTW, If you use variant_t, you will want to use _bstr_t as well for your BSTRs.


Build a man a fire, and he will be warm for a day
Light a man on fire, and he will be warm for the rest of his life!

GeneralBitmap to buffer to display Pin
Guibz6-Jun-02 12:14
Guibz6-Jun-02 12:14 
GeneralRe: Bitmap to buffer to display Pin
Christian Graus6-Jun-02 13:00
protectorChristian Graus6-Jun-02 13:00 
Questionhow to capture the screen efficiently? Pin
6-Jun-02 12:13
suss6-Jun-02 12:13 
AnswerRe: how to capture the screen efficiently? Pin
Paul M Watt6-Jun-02 17:45
mentorPaul M Watt6-Jun-02 17:45 
AnswerRe: how to capture the screen efficiently? Pin
Mike Nordell7-Jun-02 1:54
Mike Nordell7-Jun-02 1:54 
QuestionHow do i convert char * to LPOLESTR? Pin
redeemer6-Jun-02 11:27
redeemer6-Jun-02 11:27 
AnswerRe: How do i convert char * to LPOLESTR? Pin
Christian Graus6-Jun-02 11:40
protectorChristian Graus6-Jun-02 11:40 
GeneralRe: How do i convert char * to LPOLESTR? Pin
redeemer6-Jun-02 12:52
redeemer6-Jun-02 12:52 
GeneralRe: How do i convert char * to LPOLESTR? Pin
Christian Graus6-Jun-02 12:59
protectorChristian Graus6-Jun-02 12:59 
GeneralRe: How do i convert char * to LPOLESTR? Pin
redeemer6-Jun-02 13:01
redeemer6-Jun-02 13:01 
GeneralRe: How do i convert char * to LPOLESTR? Pin
Christian Graus6-Jun-02 13:18
protectorChristian Graus6-Jun-02 13:18 
GeneralRe: How do i convert char * to LPOLESTR? Pin
Ernest Laurentin6-Jun-02 19:26
Ernest Laurentin6-Jun-02 19:26 
GeneralDrawing tool Pin
Haakon S.6-Jun-02 10:28
Haakon S.6-Jun-02 10:28 
GeneralRe: Drawing tool Pin
Paul M Watt6-Jun-02 17:48
mentorPaul M Watt6-Jun-02 17:48 
GeneralRe: Drawing tool Pin
Haakon S.6-Jun-02 18:54
Haakon S.6-Jun-02 18:54 
GeneralRe: Drawing tool Pin
Paul M Watt6-Jun-02 19:45
mentorPaul M Watt6-Jun-02 19:45 
QuestionRelease mode TRACE? Pin
clintsinger6-Jun-02 10:16
clintsinger6-Jun-02 10:16 

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.