Click here to Skip to main content
15,891,943 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Determining the exact directory path Pin
Maxwell Chen19-Jun-06 6:20
Maxwell Chen19-Jun-06 6:20 
JokeRe: Determining the exact directory path Pin
toxcct19-Jun-06 6:52
toxcct19-Jun-06 6:52 
GeneralRe: Determining the exact directory path Pin
Maxwell Chen19-Jun-06 6:54
Maxwell Chen19-Jun-06 6:54 
JokeRe: Determining the exact directory path Pin
toxcct19-Jun-06 6:55
toxcct19-Jun-06 6:55 
GeneralRe: Determining the exact directory path Pin
Maxwell Chen19-Jun-06 7:43
Maxwell Chen19-Jun-06 7:43 
GeneralRe: Determining the exact directory path Pin
David Crow19-Jun-06 8:33
David Crow19-Jun-06 8:33 
GeneralRe: Determining the exact directory path Pin
toxcct19-Jun-06 21:29
toxcct19-Jun-06 21:29 
AnswerRe: Determining the exact directory path Pin
David Crow19-Jun-06 6:21
David Crow19-Jun-06 6:21 
capricious_001 wrote:
lszLogFile = "C:\\TeSt\TeSt.txt";


This should be:

lszLogFile = "C:\\TeSt\\TeSt.txt";

capricious_001 wrote:
Then a handle will not be created.


Why not? Have you checked the return value of GetLastError()?

capricious_001 wrote:
Is there a way to find out what the actual Directory string is?


It's whatever value you have assigned to lszLogFile.


"The largest fire starts but with the smallest spark." - David Crow

"Judge not by the eye but by the heart." - Native American Proverb


GeneralRe: Determining the exact directory path [modified] Pin
capricious_00119-Jun-06 7:07
capricious_00119-Jun-06 7:07 
GeneralRe: Determining the exact directory path Pin
David Crow19-Jun-06 8:35
David Crow19-Jun-06 8:35 
AnswerRe: Determining the exact directory path Pin
Maxwell Chen19-Jun-06 7:28
Maxwell Chen19-Jun-06 7:28 
GeneralRe: Determining the exact directory path Pin
capricious_00119-Jun-06 7:44
capricious_00119-Jun-06 7:44 
AnswerRe: Determining the exact directory path Pin
Michael Dunn19-Jun-06 11:20
sitebuilderMichael Dunn19-Jun-06 11:20 
Questionproblem with reading string from file Pin
Banks K19-Jun-06 5:37
Banks K19-Jun-06 5:37 
AnswerRe: problem with reading string from file Pin
toxcct19-Jun-06 5:41
toxcct19-Jun-06 5:41 
QuestionRe: problem with reading string from file Pin
David Crow19-Jun-06 5:41
David Crow19-Jun-06 5:41 
AnswerRe: problem with reading string from file Pin
Aqueel19-Jun-06 7:56
Aqueel19-Jun-06 7:56 
AnswerRe: problem with reading string from file Pin
Bram van Kampen19-Jun-06 15:04
Bram van Kampen19-Jun-06 15:04 
QuestionReceiving a Linker Error Pin
capricious_00119-Jun-06 5:15
capricious_00119-Jun-06 5:15 
AnswerRe: Receiving a Linker Error Pin
capricious_00119-Jun-06 5:43
capricious_00119-Jun-06 5:43 
Question_stscanf problems... Pin
kitty519-Jun-06 5:15
kitty519-Jun-06 5:15 
AnswerRe: _stscanf problems... Pin
Viorel.19-Jun-06 5:23
Viorel.19-Jun-06 5:23 
AnswerRe: _stscanf problems... Pin
toxcct19-Jun-06 5:26
toxcct19-Jun-06 5:26 
AnswerRe: _stscanf problems... Pin
James R. Twine19-Jun-06 8:21
James R. Twine19-Jun-06 8:21 
GeneralRe: _stscanf problems... Pin
toxcct19-Jun-06 8:23
toxcct19-Jun-06 8:23 

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.