User forums > Using Code::Blocks
Network drive problem
thomas:
--- Quote from: Kylotan on November 10, 2005, 05:08:50 pm ---that sounds like a bug or shortcoming in wxFileName or the code that calls it
--- End quote ---
Little one can do about that, though... unluckily, except writing a MyBetterFileName class, and recoding an awful lot in the application.
Oh, forgot to mention... Windows actually does support slashes in network folders. But it absolutely must have "\\" at the beginning, which is so darn stupid.
rickg22:
--- Quote from: Kylotan on November 10, 2005, 05:08:50 pm ---Perhaps I wasn't clear - it's not that I don't know how to map a network drive, it's that it's not an option in this case. For example, needing to do this from multiple computers where free drive letters may differ, or from computers where I don't have permission to do this.
--- End quote ---
I know I'm in no place to suggest this, but have you considered using CVS so that you only have to change the source on ONE computer and the rest will be updated from CVS? IMO that's a much safer approach.
A warning: Codeblocks saves files by OVERWRITING them. It does NOT create new files and then rename them, which would be much safer in a network environment.
Let's suppose you manage to get the files-on-network-drive approach working. If something happens to the network connection when you're saving a file, you can kiss your file goodbye.
mandrav:
--- Quote ---A warning: Codeblocks saves files by OVERWRITING them. It does NOT create new files and then rename them, which would be much safer in a network environment.
--- End quote ---
What are you talking about? It saves to a temporary file first and if it succeeds then it overwrites the original file :shock:
Kylotan:
--- Quote from: rickg22 on November 10, 2005, 06:05:34 pm ---I know I'm in no place to suggest this, but have you considered using CVS so that you only have to change the source on ONE computer and the rest will be updated from CVS? IMO that's a much safer approach.
--- End quote ---
I know, but it's not practical here, and it doesn't solve the problem I mention. It would be good if Code::Blocks had CVS support though. (Or if it does, for it to be more obvious!)
rickg22:
--- Quote from: mandrav on November 10, 2005, 06:26:23 pm ---What are you talking about? It saves to a temporary file first and if it succeeds then it overwrites the original file :shock:
--- End quote ---
Ack! My memory! :oops: I've stayed out of C::B development for too long :oops:
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version