Click here to Skip to main content
15,889,281 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Multiple Application Serialization [modified] Pin
CPallini29-Jan-08 21:44
mveCPallini29-Jan-08 21:44 
QuestionRe: Multiple Application Serialization Pin
Mark Salsbery30-Jan-08 7:06
Mark Salsbery30-Jan-08 7:06 
JokeRe: Multiple Application Serialization Pin
James R. Twine30-Jan-08 7:19
James R. Twine30-Jan-08 7:19 
GeneralRe: Multiple Application Serialization Pin
Mark Salsbery30-Jan-08 7:32
Mark Salsbery30-Jan-08 7:32 
GeneralRe: Multiple Application Serialization Pin
CPallini30-Jan-08 21:14
mveCPallini30-Jan-08 21:14 
GeneralReadDirectoryChangesW vs FindFirstFile (on file server hosting mac file system) Pin
Peter Weyzen29-Jan-08 12:58
Peter Weyzen29-Jan-08 12:58 
GeneralRe: ReadDirectoryChangesW vs FindFirstFile (on file server hosting mac file system) Pin
James R. Twine30-Jan-08 7:08
James R. Twine30-Jan-08 7:08 
GeneralRe: ReadDirectoryChangesW vs FindFirstFile (on file server hosting mac file system) Pin
Peter Weyzen30-Jan-08 7:56
Peter Weyzen30-Jan-08 7:56 
I don't have an issue with MAX_PATH, I am using unicode API's with the funky \\?\ prefix. (everyone should use unicode!)

The filesystem isn't remote though. My software is running locally on the same machine where the file system is stored. It's just that the folder structure is created by a mac which is connected to my machine remotely. But, to my software, the file system is local.

If I scan the folders using FindFirstFile I don't get the artifact. The file paths coming back from ReadDirectoryChangesW include it.

I cannot use any sort of GetShortFileName(), GetLongFileName() function -- because in the case of a "delete file" notification, these functions don't work. I need a more systemic answer -- one which operates on the path not on the file -- to deal with this.

I guess, I am going to have to implement a periodic scan to make sure that I have accurate information. But mostly, I am trying to figure out what that mysterious artifact is, in the path that I get back from ReadDirectoryChangesW().

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
Peter Weyzen<br />
Staff Engineer<br />
<a href="http://www.soonr.com">SoonR Inc -- PC Power delivered to your phone</a>

QuestionWhich process opened a file? Pin
daavena29-Jan-08 10:54
daavena29-Jan-08 10:54 
AnswerRe: Which process opened a file? Pin
Randor 29-Jan-08 11:55
professional Randor 29-Jan-08 11:55 
AnswerRe: Which process opened a file? Pin
Stephen Hewitt29-Jan-08 12:40
Stephen Hewitt29-Jan-08 12:40 
AnswerRe: Which process opened a file? Pin
Hamid_RT29-Jan-08 18:17
Hamid_RT29-Jan-08 18:17 
GeneralConcerning drivers... Pin
Eikthrynir29-Jan-08 10:40
Eikthrynir29-Jan-08 10:40 
GeneralRe: Concerning drivers... Pin
Randor 29-Jan-08 11:39
professional Randor 29-Jan-08 11:39 
GeneralRe: Concerning drivers... Pin
Eikthrynir29-Jan-08 17:57
Eikthrynir29-Jan-08 17:57 
GeneralLNK:2019 Link Error Using C++ to compile C program Pin
IceWater4229-Jan-08 10:18
IceWater4229-Jan-08 10:18 
GeneralRe: LNK:2019 Link Error Using C++ to compile C program Pin
Mark Salsbery29-Jan-08 10:35
Mark Salsbery29-Jan-08 10:35 
GeneralRe: LNK:2019 Link Error Using C++ to compile C program Pin
IceWater4229-Jan-08 12:29
IceWater4229-Jan-08 12:29 
Generala simplr app. for mobile ... Pin
mostafa_h29-Jan-08 10:10
mostafa_h29-Jan-08 10:10 
QuestionLinking to VB/DLL in a C++ Application Pin
GaryLee29-Jan-08 9:55
GaryLee29-Jan-08 9:55 
AnswerRe: Linking to VB/DLL in a C++ Application Pin
akiraps10-Mar-08 12:02
akiraps10-Mar-08 12:02 
GeneralTIme checking in C++ for visual 6 Pin
nahitan29-Jan-08 7:07
nahitan29-Jan-08 7:07 
GeneralRe: TIme checking in C++ for visual 6 Pin
Maxwell Chen29-Jan-08 7:16
Maxwell Chen29-Jan-08 7:16 
GeneralRe: TIme checking in C++ for visual 6 Pin
Mark Salsbery29-Jan-08 7:17
Mark Salsbery29-Jan-08 7:17 
GeneralRe: TIme checking in C++ for visual 6 Pin
nahitan29-Jan-08 8:46
nahitan29-Jan-08 8:46 

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.