Click here to Skip to main content
15,348,920 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionAdd .lib Pin
sunit512-Feb-06 23:11
Membersunit512-Feb-06 23:11 
AnswerRe: Add .lib Pin
toxcct12-Feb-06 23:21
Membertoxcct12-Feb-06 23:21 
GeneralRe: Add .lib Pin
sunit513-Feb-06 0:21
Membersunit513-Feb-06 0:21 
AnswerRe: Add .lib Pin
ThatsAlok14-Feb-06 19:45
MemberThatsAlok14-Feb-06 19:45 
QuestionIs there a way to execute the internal command without showing the consol window? Pin
pc_dev12-Feb-06 23:00
Memberpc_dev12-Feb-06 23:00 
AnswerRe: Is there a way to execute the internal command without showing the consol window? Pin
toxcct12-Feb-06 23:03
Membertoxcct12-Feb-06 23:03 
AnswerRe: Is there a way to execute the internal command without showing the consol window? Pin
James Brown12-Feb-06 23:05
MemberJames Brown12-Feb-06 23:05 
AnswerRe: Is there a way to execute the internal command without showing the consol window? Pin
khan++12-Feb-06 23:34
Memberkhan++12-Feb-06 23:34 
In addition to the above responses, you could also try: (I know WinExec is old but since it works still)
WinExec("cmd /c ren c:\\a.txt b.txt", SW_HIDE);
It is the /C switch which causes cmd.exe to terminate after executing the command. And the second parameter to WinExec: SW_HIDE causes the window not to be shown.
If the program should run on Win9X also, then make it command.com instead of cmd.exe.


this is this.
AnswerRe: Is there a way to execute the internal command without showing the consol window? Pin
ThatsAlok14-Feb-06 19:41
MemberThatsAlok14-Feb-06 19:41 
Question'bad file number' error Pin
kittymew12-Feb-06 22:51
Memberkittymew12-Feb-06 22:51 
AnswerRe: 'bad file number' error Pin
Cedric Moonen12-Feb-06 23:04
MemberCedric Moonen12-Feb-06 23:04 
QuestionRe: 'bad file number' error Pin
kittymew13-Feb-06 0:01
Memberkittymew13-Feb-06 0:01 
AnswerRe: 'bad file number' error Pin
Cedric Moonen13-Feb-06 1:02
MemberCedric Moonen13-Feb-06 1:02 
GeneralRe: 'bad file number' error Pin
kittymew13-Feb-06 1:19
Memberkittymew13-Feb-06 1:19 
QuestionCommon File Dialog Pin
Anil_vvs12-Feb-06 21:46
MemberAnil_vvs12-Feb-06 21:46 
AnswerRe: Common File Dialog Pin
PJ Arends13-Feb-06 6:22
professionalPJ Arends13-Feb-06 6:22 
QuestionOnSelchangedTree On MainFrame Pin
HMNham12-Feb-06 21:44
MemberHMNham12-Feb-06 21:44 
QuestionOnSelchangedTree On MainFrame Pin
HMNham12-Feb-06 21:43
MemberHMNham12-Feb-06 21:43 
AnswerRe: OnSelchangedTree On MainFrame Pin
_anil_12-Feb-06 23:16
Member_anil_12-Feb-06 23:16 
QuestionError SHGetFolderPath Pin
sunit512-Feb-06 20:50
Membersunit512-Feb-06 20:50 
AnswerRe: Error SHGetFolderPath Pin
Owner drawn12-Feb-06 21:06
MemberOwner drawn12-Feb-06 21:06 
GeneralRe: Error SHGetFolderPath Pin
sunit512-Feb-06 21:53
Membersunit512-Feb-06 21:53 
GeneralRe: Error SHGetFolderPath Pin
Owner drawn12-Feb-06 21:57
MemberOwner drawn12-Feb-06 21:57 
GeneralRe: Error SHGetFolderPath Pin
sunit512-Feb-06 22:07
Membersunit512-Feb-06 22:07 
GeneralRe: Error SHGetFolderPath Pin
Owner drawn12-Feb-06 22:22
MemberOwner drawn12-Feb-06 22:22 

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.