Click here to Skip to main content
15,900,511 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Difference between delete and delete[] Pin
Arcrest16-Feb-04 0:06
Arcrest16-Feb-04 0:06 
GeneralCreating shortcuts in Start menu Pin
Ashman15-Feb-04 22:54
Ashman15-Feb-04 22:54 
GeneralRe: Creating shortcuts in Start menu Pin
Arcrest16-Feb-04 1:14
Arcrest16-Feb-04 1:14 
GeneralProgrammatically copying a folder in MFC Pin
Ashman15-Feb-04 22:53
Ashman15-Feb-04 22:53 
GeneralRe: Programmatically copying a folder in MFC Pin
Prakash Nadar15-Feb-04 23:23
Prakash Nadar15-Feb-04 23:23 
GeneralRe: Programmatically copying a folder in MFC Pin
Ashman16-Feb-04 2:25
Ashman16-Feb-04 2:25 
GeneralRe: Programmatically copying a folder in MFC Pin
David Crow16-Feb-04 2:36
David Crow16-Feb-04 2:36 
GeneralRe: Programmatically copying a folder in MFC Pin
Ashman16-Feb-04 2:42
Ashman16-Feb-04 2:42 
GeneralRe: Programmatically copying a folder in MFC Pin
David Crow16-Feb-04 2:55
David Crow16-Feb-04 2:55 
QuestionAutoUpgrade Feature ? Pin
RaajaOfSelf15-Feb-04 21:57
RaajaOfSelf15-Feb-04 21:57 
AnswerRe: AutoUpgrade Feature ? Pin
Ashman16-Feb-04 2:36
Ashman16-Feb-04 2:36 
QuestionHow do you get the functions exported by the dll and Pin
SamirSood15-Feb-04 21:17
SamirSood15-Feb-04 21:17 
AnswerRe: How do you get the functions exported by the dll and Pin
RaajaOfSelf15-Feb-04 22:01
RaajaOfSelf15-Feb-04 22:01 
AnswerRe: How do you get the functions exported by the dll and Pin
David Crow16-Feb-04 2:38
David Crow16-Feb-04 2:38 
GeneralRe: How do you get the functions exported by the dll and Pin
Steve S16-Feb-04 4:58
Steve S16-Feb-04 4:58 
Generalsimple database system Pin
LamLie`15-Feb-04 20:58
LamLie`15-Feb-04 20:58 
GeneralRe: simple database system Pin
David Crow16-Feb-04 2:41
David Crow16-Feb-04 2:41 
GeneralRe: simple database system Pin
LamLie`16-Feb-04 13:41
LamLie`16-Feb-04 13:41 
GeneralRe: simple database system Pin
Toni7816-Feb-04 15:29
Toni7816-Feb-04 15:29 
GeneralRe: simple database system Pin
LamLie`16-Feb-04 15:36
LamLie`16-Feb-04 15:36 
GeneralRe: simple database system Pin
Toni7816-Feb-04 15:41
Toni7816-Feb-04 15:41 
GeneralRe: simple database system Pin
LamLie`16-Feb-04 15:44
LamLie`16-Feb-04 15:44 
GeneralFile sharing problem Pin
spingkoy15-Feb-04 20:41
spingkoy15-Feb-04 20:41 
Good day,

I'm creating a program that compiles visual C++ program so that i dont
have to switch and make the project active, since i have a lot of projects
on my workspace.I perform the compilation by creating a process so that the
main process could not be affected by its slow compiling..

UINT CompileReleaseMode(LPVOID pParam)
{
::WaitForSingleObject(g_eventStartRelease, INFINITE);
....
....
if(!CreateProcess(NULL,"msdev e:\\app.dsw /MAKE \"app - Win32 Debug" /REBUILD /OUT
c:\\Status.log", NULL, FALSE......);
WaitForSingleObject( pirelease1.hProcess, INFINITE );
}

In my dialog i have a listbox where i could put the filtered compilation message based from the log file(status.log). So i created another thread to read the file(running parallel with the first process) or have it back-up so that i could read the current change of file and reflect to the listbox the filtered message.

My problem now is that when the thread the reads the log file(it generates an error).
How can i access the content of the file or get the last line that have been updated.
(we can see that file has been updated as compilation process.. by executing
type status.log on command prompt.


Thanks a lot and have nice day Smile | :)


sphynxs
GeneralRe: File sharing problem Pin
David Crow16-Feb-04 2:54
David Crow16-Feb-04 2:54 
Generaltypecat varenum to string Pin
Inam15-Feb-04 20:33
Inam15-Feb-04 20:33 

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.