Click here to Skip to main content
15,922,696 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionQuestion about table Pin
zizzzz5-Oct-06 23:23
zizzzz5-Oct-06 23:23 
QuestionRe: Question about table Pin
prasad_som5-Oct-06 23:38
prasad_som5-Oct-06 23:38 
AnswerRe: Question about table Pin
toxcct5-Oct-06 23:56
toxcct5-Oct-06 23:56 
AnswerRe: Question about table Pin
Hamid_RT6-Oct-06 8:35
Hamid_RT6-Oct-06 8:35 
QuestionDirectShow: Knowing video buffer alignment of output frame inside DMO Pin
Johniteq5-Oct-06 23:01
Johniteq5-Oct-06 23:01 
AnswerRe: DirectShow: Knowing video buffer alignment of output frame inside DMO Pin
Johniteq5-Oct-06 23:33
Johniteq5-Oct-06 23:33 
NewsProblem with Batch Scripts and CreateProcess() Pin
neilsolent5-Oct-06 22:40
neilsolent5-Oct-06 22:40 
GeneralRe: Problem with Batch Scripts and CreateProcess() Pin
S Douglas6-Oct-06 13:46
professionalS Douglas6-Oct-06 13:46 
So if I understand the issue correctly, you’re creating a file for a batch file to write to right?

Well if that’s indeed the case the issue is how you’re creating it.

neilsolent wrote:
startupInfo.hStdOutput = CreateFile(
"child.log",
GENERIC_WRITE | GENERIC_READ, FILE_SHARE_READ,
&secAttr,
CREATE_ALWAYS,
FILE_ATTRIBUTE_NORMAL | FILE_FLAG_WRITE_THROUGH | FILE_FLAG_SEQUENTIAL_SCAN,
NULL);


FILE_SHARE_READ Allows other apps to open it read only. Change that to FILE_SHARE_WRITE or close the file before spawning the the child process.



I'd love to help, but unfortunatley I have prior commitments monitoring the length of my grass. :Andrew Bleakley:


GeneralRe: Problem with Batch Scripts and CreateProcess() Pin
neilsolent7-Oct-06 8:41
neilsolent7-Oct-06 8:41 
GeneralRe: Problem with Batch Scripts and CreateProcess() Pin
S Douglas7-Oct-06 9:12
professionalS Douglas7-Oct-06 9:12 
GeneralRe: Problem with Batch Scripts and CreateProcess() Pin
neilsolent7-Oct-06 9:32
neilsolent7-Oct-06 9:32 
QuestionData types in Visual C++ Pin
Eikthrynir5-Oct-06 22:33
Eikthrynir5-Oct-06 22:33 
AnswerRe: Data types in Visual C++ Pin
Link20065-Oct-06 23:24
Link20065-Oct-06 23:24 
AnswerRe: Data types in Visual C++ Pin
toxcct6-Oct-06 0:00
toxcct6-Oct-06 0:00 
AnswerRe: Data types in Visual C++ Pin
Gary R. Wheeler6-Oct-06 3:04
Gary R. Wheeler6-Oct-06 3:04 
GeneralRe: Data types in Visual C++ Pin
Eikthrynir6-Oct-06 6:42
Eikthrynir6-Oct-06 6:42 
AnswerRe: Data types in Visual C++ Pin
Hamid_RT6-Oct-06 19:31
Hamid_RT6-Oct-06 19:31 
QuestionToo many WM_MOUSEWHEEL events issue Pin
Tnarol5-Oct-06 22:02
Tnarol5-Oct-06 22:02 
QuestionFtpCommand not defined in Visual Studio Pin
codepanter5-Oct-06 21:51
codepanter5-Oct-06 21:51 
AnswerRe: FtpCommand not defined in Visual Studio Pin
benjymous5-Oct-06 21:59
benjymous5-Oct-06 21:59 
GeneralRe: FtpCommand not defined in Visual Studio Pin
codepanter6-Oct-06 0:51
codepanter6-Oct-06 0:51 
GeneralRe: FtpCommand not defined in Visual Studio Pin
David Crow6-Oct-06 2:43
David Crow6-Oct-06 2:43 
AnswerRe: FtpCommand not defined in Visual Studio Pin
Hamid_RT5-Oct-06 22:04
Hamid_RT5-Oct-06 22:04 
QuestionTo compare two Images to find out the mismatch between them Pin
Dinu_IP5-Oct-06 21:33
Dinu_IP5-Oct-06 21:33 
AnswerRe: To compare two Images to find out the mismatch between them Pin
Sarath C5-Oct-06 22:02
Sarath C5-Oct-06 22:02 

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.