Click here to Skip to main content
13,708,467 members

C / C++ / MFC

 
GeneralRe: Inability to edit .rc files Pin
CPallini21-Jan-13 0:14
mvpCPallini21-Jan-13 0:14 
GeneralRe: Inability to edit .rc files Pin
Joe Woodbury22-Jan-13 9:20
memberJoe Woodbury22-Jan-13 9:20 
GeneralRe: Inability to edit .rc files Pin
CPallini22-Jan-13 9:41
mvpCPallini22-Jan-13 9:41 
AnswerRe: Inability to edit .rc files Pin
Shaheed Legion26-Feb-13 6:02
memberShaheed Legion26-Feb-13 6:02 
GeneralRe: Inability to edit .rc files Pin
Anthony Appleyard26-Feb-13 6:39
memberAnthony Appleyard26-Feb-13 6:39 
QuestionUser privileges stopping a program from rename(,)'ing files Pin
Anthony Appleyard20-Jan-13 18:51
memberAnthony Appleyard20-Jan-13 18:51 
AnswerRe: User privileges stopping a program from rename(,)'ing files Pin
Super Lloyd20-Jan-13 19:52
memberSuper Lloyd20-Jan-13 19:52 
GeneralBUG FOUND Pin
Anthony Appleyard21-Jan-13 0:03
memberAnthony Appleyard21-Jan-13 0:03 
I just found that I had fopen()'ed the same file twice without fclose()'ing it between. The offending rename(,)'s now work OK. I am sorry to take up so much of your time.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I just now inserted into my program this instruction:-

i=rename("C:\\Poser4\\Runtime\\Libraries\\character\\Divers\\Divers_rebreathers\\CDBA\\miaow.txt",
"C:\\Poser4\\Runtime\\Libraries\\character\\Divers\\Divers_rebreathers\\CDBA\\wuff.txt");

to rename a file which I had just created and the program never opens it. And the rename went OK.

The file that I was trying to rename it before :: I had fopen()'ed it in read mode, and read from it, and then fclose()'ed it; after that I tried to rename it, and that rename was refused.

modified 21-Jan-13 6:14am.

GeneralRe: BUG FOUND Pin
Super Lloyd21-Jan-13 0:57
memberSuper Lloyd21-Jan-13 0:57 
QuestionA pointer reference as l-value Pin
George Nistor20-Jan-13 2:07
memberGeorge Nistor20-Jan-13 2:07 
AnswerRe: A pointer reference as l-value Pin
Maximilien20-Jan-13 3:18
memberMaximilien20-Jan-13 3:18 
AnswerRe: A pointer reference as l-value Pin
Richard MacCutchan20-Jan-13 3:56
mvpRichard MacCutchan20-Jan-13 3:56 
GeneralRe: A pointer reference as l-value Pin
George Nistor20-Jan-13 4:02
memberGeorge Nistor20-Jan-13 4:02 
GeneralRe: A pointer reference as l-value Pin
Richard MacCutchan20-Jan-13 4:11
mvpRichard MacCutchan20-Jan-13 4:11 
GeneralRe: A pointer reference as l-value Pin
Freak3021-Jan-13 4:43
memberFreak3021-Jan-13 4:43 
GeneralRe: A pointer reference as l-value Pin
George Nistor21-Jan-13 5:37
memberGeorge Nistor21-Jan-13 5:37 
GeneralRe: A pointer reference as l-value Pin
Freak3021-Jan-13 22:08
memberFreak3021-Jan-13 22:08 
QuestionThe 'rename' function gives errno == -1 Pin
Anthony Appleyard20-Jan-13 1:12
memberAnthony Appleyard20-Jan-13 1:12 
AnswerRe: The 'rename' function gives errno == -1 Pin
pasztorpisti20-Jan-13 1:26
memberpasztorpisti20-Jan-13 1:26 
GeneralRe: The 'rename' function gives errno == -1 Pin
Anthony Appleyard20-Jan-13 3:01
memberAnthony Appleyard20-Jan-13 3:01 
AnswerRe: The 'rename' function gives errno == -1 Pin
Richard MacCutchan20-Jan-13 3:50
mvpRichard MacCutchan20-Jan-13 3:50 
GeneralRe: The 'rename' function gives errno == -1 Pin
Anthony Appleyard20-Jan-13 4:32
memberAnthony Appleyard20-Jan-13 4:32 
GeneralRe: The 'rename' function gives errno == -1 Pin
Richard MacCutchan20-Jan-13 4:37
mvpRichard MacCutchan20-Jan-13 4:37 
GeneralRe: The 'rename' function gives errno == -1 Pin
Anthony Appleyard20-Jan-13 5:02
memberAnthony Appleyard20-Jan-13 5:02 
GeneralRe: The 'rename' function gives errno == -1 Pin
Richard MacCutchan20-Jan-13 5:04
mvpRichard MacCutchan20-Jan-13 5:04 

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.


Advertise | Privacy | Cookies | Terms of Service
Web01-2016 | 2.8.180920.1 | Last Updated 25 Sep 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid