Click here to Skip to main content
16,011,374 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Creating Access DB Programmatically Pin
Christian Graus11-Jun-02 11:37
protectorChristian Graus11-Jun-02 11:37 
GeneralShellExecuteEx doen't wait... Pin
Srini Kella11-Jun-02 5:44
Srini Kella11-Jun-02 5:44 
GeneralRe: ShellExecuteEx doen't wait... Pin
Jeremy Falcon11-Jun-02 6:08
professionalJeremy Falcon11-Jun-02 6:08 
GeneralRe: ShellExecuteEx doen't wait... Pin
Srini Kella11-Jun-02 7:40
Srini Kella11-Jun-02 7:40 
GeneralRe: ShellExecuteEx doen't wait... Pin
Jeremy Falcon11-Jun-02 8:11
professionalJeremy Falcon11-Jun-02 8:11 
GeneralRe: ShellExecuteEx doen't wait... Pin
Srini Kella12-Jun-02 7:09
Srini Kella12-Jun-02 7:09 
Generalcast problem Pin
act_x11-Jun-02 5:21
act_x11-Jun-02 5:21 
GeneralRe: cast problem Pin
Paul M Watt11-Jun-02 5:39
mentorPaul M Watt11-Jun-02 5:39 
include the atlconv.h header file in your stdafx.h. This will give you access to the STL string conversion macros. then at the top of your function where you are going to convert the variant_t add this:

USES_CONVERSION;

It is a macro that gives you access to the conversion macros for that function. THen to do the conversion do this:

variant_t vResult;

...

CString str;
str = OLE2T(_bstr_t(vResult));


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!

GeneralRe: cast problem Pin
Christian Graus11-Jun-02 11:39
protectorChristian Graus11-Jun-02 11:39 
GeneralAn exe that presses the "Enter" key Pin
11-Jun-02 4:04
suss11-Jun-02 4:04 
GeneralRe: An exe that presses the "Enter" key Pin
dazinith11-Jun-02 4:37
dazinith11-Jun-02 4:37 
GeneralNokia Serial Data Cable Commands Pin
Lucky the code machine11-Jun-02 4:03
Lucky the code machine11-Jun-02 4:03 
QuestionFreak compiler error? Pin
oRion11-Jun-02 3:57
oRion11-Jun-02 3:57 
AnswerRe: Freak compiler error? Pin
redeemer11-Jun-02 3:58
redeemer11-Jun-02 3:58 
GeneralRe: Freak compiler error? Pin
oRion12-Jun-02 0:01
oRion12-Jun-02 0:01 
GeneralDebugging command line functions Pin
Ravi Sudhakar11-Jun-02 3:49
Ravi Sudhakar11-Jun-02 3:49 
GeneralRe: Debugging command line functions Pin
Chris Losinger11-Jun-02 3:53
professionalChris Losinger11-Jun-02 3:53 
GeneralString resource length Pin
Hugo Hallman11-Jun-02 3:30
Hugo Hallman11-Jun-02 3:30 
GeneralRe: String resource length Pin
Martin Ziacek11-Jun-02 6:22
Martin Ziacek11-Jun-02 6:22 
GeneralRe: String resource length Pin
Michael Dunn11-Jun-02 15:00
sitebuilderMichael Dunn11-Jun-02 15:00 
General9 bit serial communication Pin
11-Jun-02 2:57
suss11-Jun-02 2:57 
General9 bit serial communication Pin
11-Jun-02 2:56
suss11-Jun-02 2:56 
GeneralRe: 9 bit serial communication Pin
redeemer11-Jun-02 3:19
redeemer11-Jun-02 3:19 
GeneralRe: 9 bit serial communication Pin
11-Jun-02 3:22
suss11-Jun-02 3:22 
GeneralRe: 9 bit serial communication Pin
Ravi Sudhakar11-Jun-02 4:18
Ravi Sudhakar11-Jun-02 4:18 

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.