Click here to Skip to main content
15,906,628 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionabout dialog color? Pin
vividtang24-Jun-04 9:10
vividtang24-Jun-04 9:10 
AnswerRe: about dialog color? Pin
User 665824-Jun-04 9:12
User 665824-Jun-04 9:12 
Questionhow to cast cstring into long? Pin
vividtang24-Jun-04 9:09
vividtang24-Jun-04 9:09 
AnswerRe: how to cast cstring into long? Pin
User 665824-Jun-04 9:10
User 665824-Jun-04 9:10 
AnswerRe: how to cast cstring into long? Pin
Michael Dunn24-Jun-04 12:35
sitebuilderMichael Dunn24-Jun-04 12:35 
GeneralNewbee: VC++6 and WinXP Problem Pin
otrcomm24-Jun-04 7:46
otrcomm24-Jun-04 7:46 
GeneralRe: Newbee: VC++6 and WinXP Problem Pin
Erik Funkenbusch24-Jun-04 13:39
Erik Funkenbusch24-Jun-04 13:39 
GeneralRe: Newbee: VC++6 and WinXP Problem Pin
otrcomm24-Jun-04 18:06
otrcomm24-Jun-04 18:06 
Hello,

Thanks for the reply!

How much code do you need/want to look at? In the Run function, I am using CreateProcess to open up read/write pipes to dos batch files. I use the batch files to run a .exe file with various switches. Hence the separate batch files. The .exe file reads in files stored on disk.

Then I capture the output from the batch files (actually the .exe file) and parse it for certain key words and based on occurances of the key words, I classify the files read from disk into categories.

I will send this code if you want.


As far as the casting in the constructor, I assume you are talking about

LPCTSTR szCurrentDirectory = NULL

This is how Microsoft describes how to use the szCurrentDirectory variable in CreateProcess:

LPCTSTR lpCurrentDirectory
[in] Pointer to a null-terminated string that specifies the full path to the current directory for the process. The string can also specify a UNC path.
If this parameter is NULL, the new process will have the same current drive and directory as the calling process.
(This feature is provided primarily for shells that need to start an application and specify its initial drive and working directory.)

I really do need some help on the original problem of why WinXP returns zilch, so if you want to look at some of the code, I would appreciate it.

Thanks again,
Murrah Boswell

GeneralRe: Newbee: VC++6 and WinXP Problem Pin
Erik Funkenbusch24-Jun-04 19:04
Erik Funkenbusch24-Jun-04 19:04 
Generalopen new ViewForm Pin
JabraJabra24-Jun-04 7:40
JabraJabra24-Jun-04 7:40 
Questionwhat is the relationship? Pin
Lyndonguo24-Jun-04 7:12
Lyndonguo24-Jun-04 7:12 
AnswerRe: what is the relationship? Pin
David Crow24-Jun-04 10:30
David Crow24-Jun-04 10:30 
GeneralRe: what is the relationship? Pin
Lyndonguo24-Jun-04 16:27
Lyndonguo24-Jun-04 16:27 
GeneralThe safest and best Encryption Algorithmus Pin
Anonymous24-Jun-04 6:22
Anonymous24-Jun-04 6:22 
GeneralRe: The safest and best Encryption Algorithmus Pin
David Crow24-Jun-04 6:41
David Crow24-Jun-04 6:41 
GeneralRe: The safest and best Encryption Algorithmus Pin
Henry miller24-Jun-04 8:51
Henry miller24-Jun-04 8:51 
GeneralMFC Appwizard problem Pin
JabraJabra24-Jun-04 6:02
JabraJabra24-Jun-04 6:02 
GeneralRe: MFC Appwizard problem Pin
David Crow24-Jun-04 6:39
David Crow24-Jun-04 6:39 
GeneralRe: MFC Appwizard problem Pin
JabraJabra24-Jun-04 6:46
JabraJabra24-Jun-04 6:46 
GeneralHelp on closesocket() Pin
KellyR24-Jun-04 5:39
KellyR24-Jun-04 5:39 
GeneralRe: Help on closesocket() Pin
David Crow24-Jun-04 6:00
David Crow24-Jun-04 6:00 
GeneralRe: Help on closesocket() Pin
gamitech24-Jun-04 10:27
gamitech24-Jun-04 10:27 
GeneralRe: Help on closesocket() Pin
palbano24-Jun-04 11:45
palbano24-Jun-04 11:45 
GeneralOnKeyUp doesnt work Pin
harwanegg24-Jun-04 5:10
harwanegg24-Jun-04 5:10 
GeneralLoad a new resource at runtime for my CFormview Pin
svincent24-Jun-04 4:52
svincent24-Jun-04 4:52 

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.