Click here to Skip to main content
15,917,328 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to output binary for vector<bool>? Pin
Mike Nordell29-Dec-02 6:11
Mike Nordell29-Dec-02 6:11 
GeneralRe: How to output binary for vector<bool>? Pin
TheWay30-Dec-02 23:03
TheWay30-Dec-02 23:03 
GeneralRe: How to output binary for vector<bool>? Pin
Mike Nordell31-Dec-02 10:10
Mike Nordell31-Dec-02 10:10 
GeneralRe: How to output binary for vector? Pin
TheWay2-Jan-03 0:39
TheWay2-Jan-03 0:39 
QuestionHow to output binary for vector<bool>? Pin
TheWay29-Dec-02 4:35
TheWay29-Dec-02 4:35 
GeneralProblem with losing focus Pin
Joel Holdsworth29-Dec-02 4:11
Joel Holdsworth29-Dec-02 4:11 
GeneralRe: Problem with losing focus Pin
Tim Smith29-Dec-02 4:31
Tim Smith29-Dec-02 4:31 
GeneralRe: Problem with losing focus Pin
Nitron29-Dec-02 16:09
Nitron29-Dec-02 16:09 
GeneralDrawing optimization Pin
S O S29-Dec-02 4:05
S O S29-Dec-02 4:05 
GeneralRe: Drawing optimization Pin
Mike Nordell29-Dec-02 6:16
Mike Nordell29-Dec-02 6:16 
Generaloutput format Pin
wong190729-Dec-02 3:34
wong190729-Dec-02 3:34 
GeneralRe: output format Pin
Joel Holdsworth29-Dec-02 4:07
Joel Holdsworth29-Dec-02 4:07 
GeneralRe: output format Pin
wong190729-Dec-02 4:34
wong190729-Dec-02 4:34 
GeneralRe: output format Pin
Dominik Reichl29-Dec-02 5:19
Dominik Reichl29-Dec-02 5:19 
GeneralRe: output format Pin
Michael Dunn29-Dec-02 5:26
sitebuilderMichael Dunn29-Dec-02 5:26 
GeneralRe: output format Pin
Nick Parker29-Dec-02 16:44
protectorNick Parker29-Dec-02 16:44 
GeneralRe: output format Pin
markkuk29-Dec-02 7:20
markkuk29-Dec-02 7:20 
GeneralDrawObj! Pin
HellShrimp4free28-Dec-02 21:42
HellShrimp4free28-Dec-02 21:42 
GeneralFormat of time Pin
Shah Shehpori28-Dec-02 19:58
sussShah Shehpori28-Dec-02 19:58 
GeneralRe: Format of time Pin
Mike Danberg29-Dec-02 15:17
Mike Danberg29-Dec-02 15:17 
GeneralRe: Format of time Pin
Ravi Bhavnani29-Dec-02 16:51
professionalRavi Bhavnani29-Dec-02 16:51 
GeneralNorton style UI Pin
Anonymous28-Dec-02 17:08
Anonymous28-Dec-02 17:08 
QuestionProgram Filename and Executable? Pin
Aidman28-Dec-02 16:27
Aidman28-Dec-02 16:27 
Hi all, Wink | ;)

Is it possible for a program to get its own filename and path during run-time? Without calling the current directory function, because the current directory doesn’t necessarily have to be the same as the program directory. If so, then with what command or API function? Confused | :confused:

Let us presume a program already knows its own filename and path, either gotten it during run-time or has it as a constant. Now is it possible for the program to alter its own executable program file? I am sure that it won’t get write access but I can’t understand why, when the program is running from the memory it shouldn’t affect it-self during run-time and therefore shouldn’t affect the OS. Is there a function that could give access for altering an executed program file, that is or isn’t the calling programs own executable file? Confused | :confused:

Please forgive me for any typos... Blush | :O

Aidman » over and out
AnswerRe: Program Filename and Executable? Pin
Michael Dunn28-Dec-02 16:57
sitebuilderMichael Dunn28-Dec-02 16:57 
GeneralRe: Program Filename and Executable? Pin
Aidman28-Dec-02 18:17
Aidman28-Dec-02 18:17 

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.