Click here to Skip to main content
15,915,702 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to get the full path of a file? Pin
David Crow4-Jun-08 3:45
David Crow4-Jun-08 3:45 
GeneralRe: How to get the full path of a file? Pin
CrocodileBuck4-Jun-08 4:16
CrocodileBuck4-Jun-08 4:16 
GeneralRe: How to get the full path of a file? Pin
David Crow4-Jun-08 4:41
David Crow4-Jun-08 4:41 
GeneralRe: How to get the full path of a file? Pin
Hamid_RT4-Jun-08 21:13
Hamid_RT4-Jun-08 21:13 
QuestionHow can i get dynamic URL? Pin
sumit.durg4-Jun-08 1:40
sumit.durg4-Jun-08 1:40 
AnswerRe: How can i get dynamic URL? Pin
_AnsHUMAN_ 4-Jun-08 1:58
_AnsHUMAN_ 4-Jun-08 1:58 
GeneralRe: How can i get dynamic URL? Pin
sumit.durg4-Jun-08 3:12
sumit.durg4-Jun-08 3:12 
QuestionRemove the file in use Pin
mihai1234-Jun-08 1:35
mihai1234-Jun-08 1:35 
Hello I have a little big problem that drive me crazy for 3 hours.
I have a function that browse the content of a folder (with subfolders).
After that operation is done I want to delete the folder. The function is recursive.
All the files in the route folder are deleted ok. But I cannot delete the subFolders and their content.
I use this code for retrieve information about files and folders:
WIN32_FIND_DATA FindFileData;     
HANDLE hFind=INVALID_HANDLE_VALUE;
hFind= FindFirstFile(aux,&FindFileData);

FindNextFile(hFind, &FindFileData);


I guess that it is us
How can I remove the file/folder in use tag?
I tried with
delete &FindFileData
it doesn't work. There must be a way out there ...

I tried to delete the folder without browse it first and it works fine.

The weird thing is that I can delete the files that are in the root.
AnswerRe: Remove the file in use Pin
Michael Schubert4-Jun-08 1:54
Michael Schubert4-Jun-08 1:54 
QuestionRe: Remove the file in use Pin
CPallini4-Jun-08 1:56
mveCPallini4-Jun-08 1:56 
AnswerRe: Remove the file in use Pin
Hamid_RT4-Jun-08 21:10
Hamid_RT4-Jun-08 21:10 
GeneralRe: Remove the file in use Pin
mihai1234-Jun-08 21:16
mihai1234-Jun-08 21:16 
GeneralRe: Remove the file in use Pin
Hamid_RT4-Jun-08 21:32
Hamid_RT4-Jun-08 21:32 
GeneralRe: Remove the file in use Pin
mihai1234-Jun-08 21:43
mihai1234-Jun-08 21:43 
QuestionBitBlt is failing Pin
subramanyeswari4-Jun-08 1:06
subramanyeswari4-Jun-08 1:06 
AnswerRe: BitBlt is failing Pin
CPallini4-Jun-08 1:46
mveCPallini4-Jun-08 1:46 
GeneralRe: BitBlt is failing Pin
subramanyeswari4-Jun-08 1:51
subramanyeswari4-Jun-08 1:51 
GeneralRe: BitBlt is failing Pin
CPallini4-Jun-08 1:58
mveCPallini4-Jun-08 1:58 
GeneralRe: BitBlt is failing Pin
subramanyeswari4-Jun-08 2:04
subramanyeswari4-Jun-08 2:04 
GeneralRe: BitBlt is failing Pin
CPallini4-Jun-08 2:08
mveCPallini4-Jun-08 2:08 
GeneralRe: BitBlt is failing Pin
subramanyeswari4-Jun-08 2:15
subramanyeswari4-Jun-08 2:15 
QuestionRe: BitBlt is failing Pin
CPallini4-Jun-08 2:29
mveCPallini4-Jun-08 2:29 
AnswerRe: BitBlt is failing Pin
subramanyeswari4-Jun-08 2:39
subramanyeswari4-Jun-08 2:39 
GeneralRe: BitBlt is failing Pin
CPallini4-Jun-08 2:59
mveCPallini4-Jun-08 2:59 
JokeRe: BitBlt is failing Pin
Nelek4-Jun-08 7:21
protectorNelek4-Jun-08 7:21 

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.