Click here to Skip to main content
15,891,785 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to know Service pack of MSVC6.0 Pin
Abhi Lahare2-Dec-04 1:58
Abhi Lahare2-Dec-04 1:58 
AnswerRe: how to know Service pack of MSVC6.0 Pin
David Crow2-Dec-04 4:05
David Crow2-Dec-04 4:05 
GeneralRe: how to know Service pack of MSVC6.0 Pin
david_gilmour2-Dec-04 22:22
david_gilmour2-Dec-04 22:22 
GeneralRe: how to know Service pack of MSVC6.0 Pin
David Crow3-Dec-04 2:50
David Crow3-Dec-04 2:50 
QuestionAVIFile file size restriction? Pin
JoramW2-Dec-04 1:26
JoramW2-Dec-04 1:26 
GeneralHELP Immediately !! Very important!! Pin
angello62-Dec-04 1:21
angello62-Dec-04 1:21 
GeneralMultiple column combo box Pin
ledallam1-Dec-04 23:46
ledallam1-Dec-04 23:46 
GeneralLaunching Notepad to open a specific file Pin
Anonymous1-Dec-04 22:56
Anonymous1-Dec-04 22:56 
My application has to launch Notepad opening within it a file produced by itself.

I've tryed with the following code but it doesn't work correctly. Notepad is open but the file is not open within it. By the way, the same command launched within cmd.exe works fine.

CString l_cstrApp = _T("C:\\WINNT\\Notepad.exe");
CString cstrCommandToLaunch. = _T("C:\\MyFile.txt >> Notepad.exe");

CreateProcess(l_cstrApp.GetBuffer(0),
l_cstrCommandToLaunch.GetBuffer(0),
NULL,
NULL,
FALSE,
CREATE_NEW_CONSOLE,
NULL,
NULL,
&l_StartupInfo,
&l_ProcessInfo);

Can someone tell me how to solve this problem ??

GeneralRe: Launching Notepad to open a specific file Pin
vaniacilli1-Dec-04 23:05
vaniacilli1-Dec-04 23:05 
GeneralRe: Launching Notepad to open a specific file Pin
ThatsAlok1-Dec-04 23:09
ThatsAlok1-Dec-04 23:09 
GeneralRe: Launching Notepad to open a specific file Pin
Arsalan Malik1-Dec-04 23:17
Arsalan Malik1-Dec-04 23:17 
GeneralRe: Launching Notepad to open a specific file Pin
Anonymous1-Dec-04 23:32
Anonymous1-Dec-04 23:32 
GeneralReading Variables Pin
gamitech1-Dec-04 22:50
gamitech1-Dec-04 22:50 
Generalabout TransmitFile Pin
yingkou1-Dec-04 22:46
yingkou1-Dec-04 22:46 
GeneralLinker Error Pin
Yuvaraj N1-Dec-04 22:18
Yuvaraj N1-Dec-04 22:18 
Questionhow to resize property page??? Pin
includeh101-Dec-04 22:09
includeh101-Dec-04 22:09 
AnswerRe: how to resize property page??? Pin
PJ Arends1-Dec-04 22:33
professionalPJ Arends1-Dec-04 22:33 
GeneralRe: how to resize property page??? Pin
includeh101-Dec-04 23:47
includeh101-Dec-04 23:47 
QuestionWhich MFC control does this? Pin
Vancouver1-Dec-04 19:39
Vancouver1-Dec-04 19:39 
AnswerRe: Which MFC control does this? Pin
Cedric Moonen1-Dec-04 19:55
Cedric Moonen1-Dec-04 19:55 
GeneralRe: Which MFC control does this? Pin
Vancouver2-Dec-04 10:58
Vancouver2-Dec-04 10:58 
GeneralATL support to existing MFC application Pin
Ro_land1-Dec-04 19:26
Ro_land1-Dec-04 19:26 
GeneralRe: ATL support to existing MFC application Pin
Antony M Kancidrowski2-Dec-04 6:10
Antony M Kancidrowski2-Dec-04 6:10 
GeneralRe: ATL support to existing MFC application --> IT's POSSIBLE, it works !!! Pin
Roland Rubichi2-Dec-04 12:03
Roland Rubichi2-Dec-04 12:03 
QuestionHow to make a simple opengl32.dll Pin
maxmaven1-Dec-04 19:04
maxmaven1-Dec-04 19: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.