Click here to Skip to main content
15,898,035 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to get command line arguments in MFC Pin
hemlat2-Jun-09 3:41
hemlat2-Jun-09 3:41 
AnswerRe: how to get command line arguments in MFC Pin
David Crow2-Jun-09 3:43
David Crow2-Jun-09 3:43 
GeneralRe: how to get command line arguments in MFC Pin
hemlat2-Jun-09 4:01
hemlat2-Jun-09 4:01 
AnswerRe: how to get command line arguments in MFC Pin
Chris Losinger2-Jun-09 4:11
professionalChris Losinger2-Jun-09 4:11 
AnswerRe: how to get command line arguments in MFC Pin
nyeboy2-Jun-09 7:14
nyeboy2-Jun-09 7:14 
Questionhow to reset content of Listcontrol Pin
hemlat2-Jun-09 2:45
hemlat2-Jun-09 2:45 
AnswerRe: how to reset content of Listcontrol Pin
JBAK_CP2-Jun-09 2:51
JBAK_CP2-Jun-09 2:51 
GeneralRe: how to reset content of Listcontrol Pin
hemlat2-Jun-09 2:54
hemlat2-Jun-09 2:54 
QuestionSliderbar problem Pin
Mohammad Khodaea2-Jun-09 2:43
Mohammad Khodaea2-Jun-09 2:43 
QuestionRe: Sliderbar problem Pin
David Crow2-Jun-09 3:02
David Crow2-Jun-09 3:02 
AnswerRe: Sliderbar problem Pin
Mohammad Khodaea2-Jun-09 4:05
Mohammad Khodaea2-Jun-09 4:05 
GeneralRe: Sliderbar problem Pin
David Crow2-Jun-09 4:20
David Crow2-Jun-09 4:20 
QuestionSNMP Pin
navneet19852-Jun-09 2:10
navneet19852-Jun-09 2:10 
AnswerRe: SNMP Pin
Single Step Debugger2-Jun-09 4:39
Single Step Debugger2-Jun-09 4:39 
QuestionCustom Tab order Pin
Benjamin Bruno2-Jun-09 2:07
Benjamin Bruno2-Jun-09 2:07 
AnswerRe: Custom Tab order Pin
bdwzz2-Jun-09 2:45
bdwzz2-Jun-09 2:45 
QuestionStrange Line-Selecting Behaviour in CRichEditCtrl [modified] Pin
badhad2-Jun-09 1:51
badhad2-Jun-09 1:51 
AnswerRe: Strange Line-Selecting Behaviour in CRichEditCtrl Pin
badhad2-Jun-09 11:48
badhad2-Jun-09 11:48 
Question[Message Deleted] Pin
navneet19852-Jun-09 1:36
navneet19852-Jun-09 1:36 
AnswerRe: SNMP query Pin
Chandrasekharan P2-Jun-09 1:42
Chandrasekharan P2-Jun-09 1:42 
QuestionQuery device manager Pin
Syamlal S Nair2-Jun-09 1:14
Syamlal S Nair2-Jun-09 1:14 
AnswerRe: Query device manager Pin
«_Superman_»2-Jun-09 1:40
professional«_Superman_»2-Jun-09 1:40 
AnswerRe: Query device manager Pin
Jonathan Davies2-Jun-09 5:44
Jonathan Davies2-Jun-09 5:44 
GeneralRe: Query device manager Pin
Syamlal S Nair2-Jun-09 18:04
Syamlal S Nair2-Jun-09 18:04 
GeneralRe: Query device manager Pin
Syamlal S Nair3-Jun-09 2:44
Syamlal S Nair3-Jun-09 2:44 
Hi Jonathan,

i tried to use your logic in my application. I have a VC6.0 Win32 console based applicaion, in which i need to enumerate the serial ports. But the CLSIDFromString(wBuf, &Guid) function always fills Guid with zeroes. Do you have any idea what could be the problem.

NB:- guiddef.h header file is not there in my installation, i commented this header inclusion and the code compiles.
Also, your console based demo application works fine in my PC, and list out all ports perfectly.

SYAMLAL

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.