Click here to Skip to main content
15,887,881 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: why Visual Studio can not optimize the initialization code? Pin
George_George19-Dec-07 3:58
George_George19-Dec-07 3:58 
QuestionWhat is the Maximum size of WCHAR Pin
santhoshv8418-Dec-07 20:05
santhoshv8418-Dec-07 20:05 
AnswerRe: What is the Maximum size of WCHAR Pin
Don Box18-Dec-07 20:26
Don Box18-Dec-07 20:26 
AnswerRe: What is the Maximum size of WCHAR Pin
codeII18-Dec-07 20:31
codeII18-Dec-07 20:31 
AnswerRe: What is the Maximum size of WCHAR Pin
Peter Weyzen18-Dec-07 21:52
Peter Weyzen18-Dec-07 21:52 
AnswerRe: What is the Maximum size of WCHAR Pin
David Crow19-Dec-07 3:29
David Crow19-Dec-07 3:29 
Questionmy problem is related to file handling Pin
rajneshmalik18-Dec-07 20:05
rajneshmalik18-Dec-07 20:05 
GeneralRe: my problem is related to file handling [modified] Pin
Nelek18-Dec-07 22:15
protectorNelek18-Dec-07 22:15 
One solution may be sending a parameter when client ends working with file.

Another possibility (but I don't know if that is ok for you) is to use the "share priviliges" flags of the file. You can create the file to be used only by one application or by more as you want.

Another one would be create another empty file that just hold the name of the first one + _busy or something like that, and deleting that sec file after ending the work with the first one.

P.S. there must most probably be better solutions, my knowledge is limited, this is just a logic think.

Greetings.
--------
M.D.V. Wink | ;)

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
“The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson

modified on Wednesday, December 19, 2007 4:22:20 AM

GeneralRe: my problem is related to file handling Pin
Iain Clarke, Warrior Programmer19-Dec-07 1:22
Iain Clarke, Warrior Programmer19-Dec-07 1:22 
GeneralRe: my problem is related to file handling Pin
Nelek19-Dec-07 1:49
protectorNelek19-Dec-07 1:49 
GeneralRe: my problem is related to file handling Pin
David Crow19-Dec-07 3:32
David Crow19-Dec-07 3:32 
GeneralSystem Restart Pin
Kiran Pinjala18-Dec-07 19:03
Kiran Pinjala18-Dec-07 19:03 
AnswerRe: System Restart Pin
Lim Bio Liong18-Dec-07 19:25
Lim Bio Liong18-Dec-07 19:25 
GeneralRe: System Restart Pin
Hamid_RT18-Dec-07 19:26
Hamid_RT18-Dec-07 19:26 
GeneralRe: System Restart Pin
Kiran Pinjala18-Dec-07 21:16
Kiran Pinjala18-Dec-07 21:16 
GeneralRe: System Restart Pin
Hamid_RT18-Dec-07 22:55
Hamid_RT18-Dec-07 22:55 
QuestionSHGetSpecialFolderPath not giving proper Path on Window 98 Pin
Somnath_Mali18-Dec-07 18:55
Somnath_Mali18-Dec-07 18:55 
GeneralRe: SHGetSpecialFolderPath not giving proper Path on Window 98 Pin
Peter Weyzen18-Dec-07 19:43
Peter Weyzen18-Dec-07 19:43 
GeneralRe: SHGetSpecialFolderPath not giving proper Path on Window 98 Pin
Somnath_Mali18-Dec-07 20:51
Somnath_Mali18-Dec-07 20:51 
GeneralRe: SHGetSpecialFolderPath not giving proper Path on Window 98 Pin
Peter Weyzen18-Dec-07 21:46
Peter Weyzen18-Dec-07 21:46 
GeneralRe: SHGetSpecialFolderPath not giving proper Path on Window 98 Pin
jhwurmbach19-Dec-07 7:22
jhwurmbach19-Dec-07 7:22 
GeneralRe: SHGetSpecialFolderPath not giving proper Path on Window 98 Pin
jhwurmbach19-Dec-07 7:38
jhwurmbach19-Dec-07 7:38 
GeneralRe: SHGetSpecialFolderPath not giving proper Path on Window 98 Pin
David Crow19-Dec-07 4:13
David Crow19-Dec-07 4:13 
GeneralRe: SHGetSpecialFolderPath not giving proper Path on Window 98 Pin
jhwurmbach19-Dec-07 5:25
jhwurmbach19-Dec-07 5:25 
QuestionRe: SHGetSpecialFolderPath not giving proper Path on Window 98 Pin
David Crow19-Dec-07 6:09
David Crow19-Dec-07 6:09 

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.