Click here to Skip to main content
15,914,905 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How do I set the default dir for saving in an MFC app? Pin
Jim Howard17-Aug-01 13:44
Jim Howard17-Aug-01 13:44 
QuestionIs current user an Administrator? Pin
Cathy17-Aug-01 11:40
Cathy17-Aug-01 11:40 
AnswerRe: Is current user an Administrator? Pin
Boris Russel17-Aug-01 12:16
Boris Russel17-Aug-01 12:16 
GeneralRe: Is current user an Administrator? Pin
Cathy21-Aug-01 5:53
Cathy21-Aug-01 5:53 
AnswerRe: Is current user an Administrator? Pin
Tim Deveaux17-Aug-01 14:48
Tim Deveaux17-Aug-01 14:48 
GeneralRe: Is current user an Administrator? Pin
Cathy21-Aug-01 5:51
Cathy21-Aug-01 5:51 
GeneralRe: Is current user an Administrator? Pin
Tim Deveaux24-Aug-01 10:46
Tim Deveaux24-Aug-01 10:46 
GeneralRe: Is current user an Administrator? Pin
Cathy24-Aug-01 11:25
Cathy24-Aug-01 11:25 
Oh...I didn't do any work. I copied that function out of the MSDN topic "Take Object Ownership". I believe you referenced it in your post. You should submit your new and improved version to Microsoft. Then maybe you could go to work for Bill. Wink | ;) Yes, I know you probably don't want to.

I'm going to try NetUserGetInfo(..) when I get back to that project. If it doesn't work out I'll use your new and improved version of SetPrivilege(...)I'll let you know so you can add it to the FAQ's page. Big Grin | :-D

Thanks again for your help!

P.S.
How do you do the orange block of code in the forums?
GeneralRe: Is current user an Administrator? Pin
Jon Sagara24-Aug-01 11:28
Jon Sagara24-Aug-01 11:28 
GeneralRe: Is current user an Administrator? Pin
Cathy24-Aug-01 11:54
Cathy24-Aug-01 11:54 
GeneralRe: Is current user an Administrator? Pin
Tim Deveaux24-Aug-01 11:34
Tim Deveaux24-Aug-01 11:34 
AnswerRe: Is current user an Administrator? Pin
Jon Sagara24-Aug-01 10:55
Jon Sagara24-Aug-01 10:55 
GeneralRe: Is current user an Administrator? Pin
Cathy24-Aug-01 11:26
Cathy24-Aug-01 11:26 
GeneralHOWTO: Determine if port is available Pin
Matt Weagle17-Aug-01 11:05
Matt Weagle17-Aug-01 11:05 
GeneralRe: HOWTO: Determine if port is available Pin
Tim Deveaux17-Aug-01 15:18
Tim Deveaux17-Aug-01 15:18 
GeneralBrain lock time Pin
17-Aug-01 9:46
suss17-Aug-01 9:46 
GeneralRe: Brain lock time Pin
Boris Russel17-Aug-01 12:22
Boris Russel17-Aug-01 12:22 
GeneralRe: Brain lock time Pin
Boris Russel17-Aug-01 12:25
Boris Russel17-Aug-01 12:25 
GeneralProgress updates from callback function Pin
Jake Palmer17-Aug-01 9:44
Jake Palmer17-Aug-01 9:44 
GeneralRe: Progress updates from callback function Pin
Ben Burnett17-Aug-01 17:28
Ben Burnett17-Aug-01 17:28 
GeneralNew C++ Website! Pin
17-Aug-01 9:39
suss17-Aug-01 9:39 
GeneralCEdit Pin
17-Aug-01 9:30
suss17-Aug-01 9:30 
GeneralRe: CEdit Pin
Jake Palmer17-Aug-01 9:40
Jake Palmer17-Aug-01 9:40 
GeneralRe: CEdit Pin
The_Server18-Aug-01 12:09
The_Server18-Aug-01 12:09 
GeneralCBitmap, CButton HBIMAP and more.. Pin
Remi Morin17-Aug-01 9:11
Remi Morin17-Aug-01 9:11 

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.