Click here to Skip to main content
16,006,531 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to lock a CFile in VC++ 6.0? Pin
Neeranjan20-Sep-04 20:22
Neeranjan20-Sep-04 20:22 
GeneralRe: How to lock a CFile in VC++ 6.0? Pin
David Crow21-Sep-04 3:40
David Crow21-Sep-04 3:40 
GeneralRe: How to lock a CFile in VC++ 6.0? Pin
Neeranjan21-Sep-04 4:38
Neeranjan21-Sep-04 4:38 
GeneralRe: How to lock a CFile in VC++ 6.0? Pin
David Crow21-Sep-04 5:24
David Crow21-Sep-04 5:24 
GeneralRe: How to lock a CFile in VC++ 6.0? Pin
Neeranjan21-Sep-04 20:37
Neeranjan21-Sep-04 20:37 
GeneralRe: How to lock a CFile in VC++ 6.0? Pin
David Crow22-Sep-04 5:02
David Crow22-Sep-04 5:02 
GeneralRe: How to lock a CFile in VC++ 6.0? Pin
Neeranjan22-Sep-04 18:40
Neeranjan22-Sep-04 18:40 
GeneralRe: How to lock a CFile in VC++ 6.0? Pin
David Crow23-Sep-04 2:50
David Crow23-Sep-04 2:50 
Neeranjan wrote:
If you know the concept of workspace file

The only workspace file I am was familar with is that which is created by Visual Studio. In any case, it's just a file being opened/updated/closed by some application.

From what you've described, the solution, as I see it, is for the first instance to open the file for writing and only allow others read access. Don't close the file, but flush the output buffer after each update. When the second instance comes along, it will read an updated copy of the file.


"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen


GeneralCalling C# web service from c++/MFC Pin
fajlerköaölgja19-Sep-04 22:09
fajlerköaölgja19-Sep-04 22:09 
Generalstupid question Pin
eli1502197919-Sep-04 21:49
eli1502197919-Sep-04 21:49 
GeneralRe: stupid question Pin
fajlerköaölgja19-Sep-04 22:33
fajlerköaölgja19-Sep-04 22:33 
GeneralRe: stupid question Pin
eli1502197919-Sep-04 23:10
eli1502197919-Sep-04 23:10 
GeneralApplying Windows XP Visual Style Pin
aninddroy19-Sep-04 21:18
aninddroy19-Sep-04 21:18 
GeneralAdding IPv6 address programatically Pin
Alpha Siera19-Sep-04 19:13
Alpha Siera19-Sep-04 19:13 
GeneralTEMPLATE FUNCTIONS Pin
ISUstudent19-Sep-04 18:56
ISUstudent19-Sep-04 18:56 
GeneralRe: TEMPLATE FUNCTIONS Pin
Antti Keskinen19-Sep-04 23:08
Antti Keskinen19-Sep-04 23:08 
GeneralPragma Pin
caoquanghanh19-Sep-04 18:43
caoquanghanh19-Sep-04 18:43 
GeneralRe: Pragma Pin
Ramkrishna Pawar19-Sep-04 20:19
Ramkrishna Pawar19-Sep-04 20:19 
GeneralRe: Pragma Pin
caoquanghanh22-Sep-04 19:47
caoquanghanh22-Sep-04 19:47 
GeneralRe: Pragma Pin
Alpha Siera20-Sep-04 3:06
Alpha Siera20-Sep-04 3:06 
Generalcircular linked lists Pin
jhorstkamp19-Sep-04 17:42
jhorstkamp19-Sep-04 17:42 
GeneralRe: circular linked lists Pin
Antti Keskinen19-Sep-04 23:28
Antti Keskinen19-Sep-04 23:28 
GeneralString stuff Pin
Timothy Grabrian19-Sep-04 17:02
professionalTimothy Grabrian19-Sep-04 17:02 
GeneralRe: String stuff Pin
Aamir Butt20-Sep-04 0:06
Aamir Butt20-Sep-04 0:06 
GeneralRe: String stuff Pin
David Crow20-Sep-04 6:00
David Crow20-Sep-04 6:00 

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.