Click here to Skip to main content
15,914,375 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralDynamic combo boxes Pin
1-May-02 10:51
suss1-May-02 10:51 
GeneralRe: Dynamic combo boxes Pin
Shog91-May-02 12:23
sitebuilderShog91-May-02 12:23 
GeneralRe: Dynamic combo boxes Pin
1-May-02 13:51
suss1-May-02 13:51 
GeneralSending Mouse Events to Window Pin
vins1-May-02 9:56
vins1-May-02 9:56 
GeneralRe: Sending Mouse Events to Window Pin
Jeremy Falcon1-May-02 10:03
professionalJeremy Falcon1-May-02 10:03 
GeneralRe: Sending Mouse Events to Window Pin
vins1-May-02 21:43
vins1-May-02 21:43 
GeneralGetting the control inside a View's handle from another process Pin
1-May-02 8:52
suss1-May-02 8:52 
GeneralCmdline driving me crazy Pin
1-May-02 8:46
suss1-May-02 8:46 
I have an app that I have a file name as a cmdline data. I use __argv[1] to access this. I will store this to use later. If the file exists, when I try to open it it is fine.

However, I am getting a strange thing when the file does not exist. In my program I don't use it or allow the user to build a file using this name with new parameters. However, my program automatically exits and the OS tells me that the file can not be found. I have looked at my code backwards and forwards. THis has to be the OS or MFC doing this. I have a feeling it is the CCommandLineInfo and ...ProcessShellCommand... In MSDN, it seems to say that the file will be taken as a file to be opened by the App. Is there a way around this? I do not use the OPen etc functions at all.

This has been bugging me for half a day now. Thanks for any help.

GeneralRe: Cmdline driving me crazy Pin
l a u r e n1-May-02 10:34
l a u r e n1-May-02 10:34 
GeneralRe: Cmdline driving me crazy Pin
Navin1-May-02 10:44
Navin1-May-02 10:44 
GeneralRe: Cmdline driving me crazy Pin
Nish Nishant1-May-02 12:48
sitebuilderNish Nishant1-May-02 12:48 
GeneralChanging icon in executable Pin
Tili1-May-02 6:30
Tili1-May-02 6:30 
GeneralRe: Changing icon in executable Pin
Navin1-May-02 6:41
Navin1-May-02 6:41 
GeneralRe: Changing icon in executable Pin
Tili1-May-02 7:32
Tili1-May-02 7:32 
GeneralRe: Changing icon in executable Pin
Navin1-May-02 8:05
Navin1-May-02 8:05 
GeneralSolution Found Pin
Tili1-May-02 21:35
Tili1-May-02 21:35 
GeneralRe: Changing icon in executable Pin
Renjith Ramachandran1-May-02 7:25
Renjith Ramachandran1-May-02 7:25 
GeneralRe: Changing icon in executable Pin
Tili1-May-02 21:53
Tili1-May-02 21:53 
GeneralRe: Changing icon in executable Pin
Jeremy Falcon1-May-02 8:32
professionalJeremy Falcon1-May-02 8:32 
QuestionRefresh of edit box, Timing issue? Pin
moobob1-May-02 6:27
moobob1-May-02 6:27 
AnswerRe: Refresh of edit box, Timing issue? Pin
Navin1-May-02 6:44
Navin1-May-02 6:44 
GeneralRe: Refresh of edit box, Timing issue? Pin
moobob1-May-02 8:26
moobob1-May-02 8:26 
GeneralRe: Refresh of edit box, Timing issue? Pin
Navin1-May-02 8:36
Navin1-May-02 8:36 
GeneralRe: Refresh of edit box, Timing issue? Pin
moobob1-May-02 8:46
moobob1-May-02 8:46 
GeneralRe: Refresh of edit box, Timing issue? Pin
Jack Handy1-May-02 12:16
Jack Handy1-May-02 12: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.