Click here to Skip to main content
15,885,757 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: The 'rename' function gives errno == -1 Pin
Richard MacCutchan20-Jan-13 5:04
mveRichard MacCutchan20-Jan-13 5:04 
GeneralRe: The 'rename' function gives errno == -1 Pin
Anthony Appleyard20-Jan-13 5:11
Anthony Appleyard20-Jan-13 5:11 
GeneralRe: The 'rename' function gives errno == -1 Pin
Richard MacCutchan20-Jan-13 5:33
mveRichard MacCutchan20-Jan-13 5:33 
GeneralRe: The 'rename' function gives errno == -1 Pin
Anthony Appleyard20-Jan-13 5:57
Anthony Appleyard20-Jan-13 5:57 
GeneralRe: The 'rename' function gives errno == -1 Pin
Richard MacCutchan20-Jan-13 6:20
mveRichard MacCutchan20-Jan-13 6:20 
GeneralRe: The 'rename' function gives errno == -1 Pin
Anthony Appleyard20-Jan-13 11:03
Anthony Appleyard20-Jan-13 11:03 
GeneralRe: The 'rename' function gives errno == -1 Pin
Richard MacCutchan20-Jan-13 21:52
mveRichard MacCutchan20-Jan-13 21:52 
GeneralRe: The 'rename' function gives errno == -1 Pin
Anthony Appleyard20-Jan-13 22:11
Anthony Appleyard20-Jan-13 22:11 
> You can right click the program in Windows Explorer and click "Run as administrator".

> Alternatively you can use the Project Properties: select Linker -> Manifest File,
> and change the UAC Execution Level to either "highestAvailable" or "requireAdministrator".

I just now tried all 3 of these and all got "Permission denied".

> This is always assuming that you are already running under an account with administrator level access.

Please, how do I set my PC's current account to administrator level access?

If there is a file whose full name is "C:\\zxcvbnm", please how can I find if it exists, and of so, if it is open to anything, and if so, to close it?

I remember from way back (it may have been when I was still using Borland C++ 5.1) that I had a program that faulted, and it behaved correctly after I changed its compiling-and-linking mode from 'dynamic' to 'static'. Please how can I do that now in my Visual C++ 2008?

I have just checked, and as far as I can tell, my PC has one user, which is "Owner Administrator".

modified 21-Jan-13 5:03am.

GeneralRe: The 'rename' function gives errno == -1 Pin
Richard MacCutchan20-Jan-13 23:00
mveRichard MacCutchan20-Jan-13 23:00 
QuestionRe: The 'rename' function gives errno == -1 Pin
David Crow20-Jan-13 15:17
David Crow20-Jan-13 15:17 
AnswerRe: The 'rename' function gives errno == -1 Pin
Anthony Appleyard20-Jan-13 18:15
Anthony Appleyard20-Jan-13 18:15 
GeneralRe: The 'rename' function gives errno == -1 Pin
Richard MacCutchan20-Jan-13 4:49
mveRichard MacCutchan20-Jan-13 4:49 
AnswerRe: The 'rename' function gives errno == -1 Pin
jschell20-Jan-13 6:13
jschell20-Jan-13 6:13 
GeneralBANZAI :: bug found Pin
Anthony Appleyard20-Jan-13 23:50
Anthony Appleyard20-Jan-13 23:50 
QuestionIs there a way to trace an mpi message through a topology? Pin
Cioroiu Adrian-Nicu19-Jan-13 6:39
Cioroiu Adrian-Nicu19-Jan-13 6:39 
AnswerRe: Is there a way to trace an mpi message through a topology? Pin
Richard MacCutchan19-Jan-13 21:32
mveRichard MacCutchan19-Jan-13 21:32 
QuestionSOLVED Cannot access #include files – “permission denied” Pin
Vaclav_19-Jan-13 4:38
Vaclav_19-Jan-13 4:38 
AnswerRe: Cannot access #include files – “permission denied” Pin
Richard MacCutchan19-Jan-13 5:23
mveRichard MacCutchan19-Jan-13 5:23 
GeneralRe: Cannot access #include files – “permission denied” Pin
Vaclav_19-Jan-13 7:09
Vaclav_19-Jan-13 7:09 
GeneralRe: Cannot access #include files – “permission denied” Pin
Richard MacCutchan19-Jan-13 7:11
mveRichard MacCutchan19-Jan-13 7:11 
GeneralRe: Cannot access #include files – “permission denied” Pin
Vaclav_19-Jan-13 12:02
Vaclav_19-Jan-13 12:02 
GeneralRe: Cannot access #include files – “permission denied” Pin
Richard MacCutchan19-Jan-13 21:26
mveRichard MacCutchan19-Jan-13 21:26 
QuestionWriting a non-Windows program Pin
Anthony Appleyard19-Jan-13 1:23
Anthony Appleyard19-Jan-13 1:23 
AnswerRe: Writing a non-Windows program Pin
Richard MacCutchan19-Jan-13 1:35
mveRichard MacCutchan19-Jan-13 1:35 
QuestionHow to get Visual C++ to use the char* forms of standard functions? Pin
Anthony Appleyard19-Jan-13 1:15
Anthony Appleyard19-Jan-13 1:15 

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.