Click here to Skip to main content
16,016,306 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to use the WIN32API in MFC Application?? Pin
Jose Lamas Rios22-Aug-05 17:25
Jose Lamas Rios22-Aug-05 17:25 
AnswerRe: How to use the WIN32API in MFC Application?? Pin
ThatsAlok22-Aug-05 20:13
ThatsAlok22-Aug-05 20:13 
GeneralRe: How to use the WIN32API in MFC Application?? Pin
shanzy22-Aug-05 21:49
shanzy22-Aug-05 21:49 
GeneralWMI Pin
YusufK22-Aug-05 10:52
YusufK22-Aug-05 10:52 
GeneralRe: WMI Pin
Christian Graus22-Aug-05 12:02
protectorChristian Graus22-Aug-05 12:02 
GeneralRe: WMI Pin
YusufK23-Aug-05 7:59
YusufK23-Aug-05 7:59 
GeneralRe: WMI Pin
Christian Graus23-Aug-05 13:27
protectorChristian Graus23-Aug-05 13:27 
GeneralRe: WMI Pin
MailtoGops23-Aug-05 0:14
MailtoGops23-Aug-05 0:14 
Hi,

COM implements two bytes per character method. You have to convert vtProp.bstrVal to a ANSI string.

For that you can use wcstombs() function.

Then you can do the comparision with the ANSI string that you have converted and the actual char[30] string you have.



" Action without vision is only passing time,
Vision without action is merely day dreaming,
But vision with action can change the world "

- Words from Nelson Mandela

Thanks & Regards,

Gopalakrishnan
GeneralRe: WMI Pin
YusufK23-Aug-05 8:02
YusufK23-Aug-05 8:02 
GeneralUsing MAC address Pin
Shay Harel22-Aug-05 8:28
Shay Harel22-Aug-05 8:28 
GeneralRe: Using MAC address Pin
Johnny ²22-Aug-05 10:25
Johnny ²22-Aug-05 10:25 
GeneralRe: Using MAC address Pin
Shay Harel22-Aug-05 10:39
Shay Harel22-Aug-05 10:39 
GeneralRe: Using MAC address Pin
geo_m22-Aug-05 20:29
geo_m22-Aug-05 20:29 
GeneralRe: Using MAC address Pin
Shay Harel23-Aug-05 3:14
Shay Harel23-Aug-05 3:14 
Generalcontrolling window size during Cascade Pin
moredip22-Aug-05 8:27
moredip22-Aug-05 8:27 
GeneralReed ini, code request Pin
kimelott22-Aug-05 7:56
kimelott22-Aug-05 7:56 
GeneralRe: Reed ini, code request Pin
Bob Ciora22-Aug-05 8:03
Bob Ciora22-Aug-05 8:03 
AnswerRe: Reed ini, code request Pin
Chris Losinger22-Aug-05 10:57
professionalChris Losinger22-Aug-05 10:57 
Generalsubclassing concept Pin
23_44422-Aug-05 7:41
23_44422-Aug-05 7:41 
GeneralRe: subclassing concept Pin
HumanOsc22-Aug-05 11:20
HumanOsc22-Aug-05 11:20 
GeneralRe: subclassing concept Pin
Jose Lamas Rios22-Aug-05 17:40
Jose Lamas Rios22-Aug-05 17:40 
GeneralRe: subclassing concept Pin
23_44423-Aug-05 6:20
23_44423-Aug-05 6:20 
GeneralQuestion about CFormView Pin
Joel Holdsworth22-Aug-05 7:26
Joel Holdsworth22-Aug-05 7:26 
GeneralRe: Question about CFormView Pin
Ravi Bhavnani22-Aug-05 8:32
professionalRavi Bhavnani22-Aug-05 8:32 
GeneralRe: Question about CFormView Pin
Joel Holdsworth22-Aug-05 22:04
Joel Holdsworth22-Aug-05 22:04 

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.