Click here to Skip to main content
15,902,112 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: bitwise left shift and sight shift Operators << , >> Pin
Ahmad20-Mar-01 21:16
Ahmad20-Mar-01 21:16 
Generali want to know something about wingdows logon Pin
mikeluo19-Mar-01 16:04
mikeluo19-Mar-01 16:04 
GeneralCalling dos command in a win32 console application Pin
kk919-Mar-01 13:14
kk919-Mar-01 13:14 
GeneralRe: Calling dos command in a win32 console application Pin
Tim Deveaux19-Mar-01 14:10
Tim Deveaux19-Mar-01 14:10 
GeneralRe: Calling dos command in a win32 console application Pin
Michael Martin19-Mar-01 15:19
professionalMichael Martin19-Mar-01 15:19 
GeneralCustomizing Intellisense Information Tooltips Pin
19-Mar-01 12:23
suss19-Mar-01 12:23 
GeneralRe: Customizing Intellisense Information Tooltips Pin
20-Mar-01 5:48
suss20-Mar-01 5:48 
GeneralChecking for administrative rights in windows NT Pin
19-Mar-01 12:07
suss19-Mar-01 12:07 
I'm doing a programatic install of device drivers in NT, but before I do it, I would like to make sure the user has permissions to do so (and fail gracefully if they don't).

I'm looking at NetUserGetInfo() but it doesn't appear to be behaving as expected.

Some additional details:
Look up rights from the local machine first
look up rights from the domain controller (of the primary domain)

If they have admin rights, groovy. If not, die (which I can do Wink | ;) )

Does anyone have some sample code that I can use?



Thanks!!

--Dave Weber
GeneralRe: Checking for administrative rights in windows NT Pin
Tim Deveaux19-Mar-01 13:59
Tim Deveaux19-Mar-01 13:59 
GeneralRe: Checking for administrative rights in windows NT Pin
Cathy17-Aug-01 15:09
Cathy17-Aug-01 15:09 
GeneralRecasting a void pointer Pin
Andrew Traub19-Mar-01 12:03
Andrew Traub19-Mar-01 12:03 
GeneralRe: Recasting a void pointer Pin
Jonathan Gilligan19-Mar-01 12:25
Jonathan Gilligan19-Mar-01 12:25 
GeneralSwitching between two forms Pin
19-Mar-01 9:06
suss19-Mar-01 9:06 
GeneralDisable Tree Item in Outlook bar control Pin
19-Mar-01 8:59
suss19-Mar-01 8:59 
QuestionHow to use proxy like IE Pin
TomK19-Mar-01 7:18
TomK19-Mar-01 7:18 
GeneralCHtmlView::OnBeforeNavigate2 try to spy Pin
mstuebner19-Mar-01 7:13
mstuebner19-Mar-01 7:13 
GeneralRe: CHtmlView::OnBeforeNavigate2 try to spy Pin
jerry0davis20-Mar-01 0:48
jerry0davis20-Mar-01 0:48 
GeneralRe: CHtmlView::OnBeforeNavigate2 try to spy Pin
Datacrime20-Mar-01 2:06
Datacrime20-Mar-01 2:06 
QuestionHow To Bitmap a Push button? Pin
19-Mar-01 6:28
suss19-Mar-01 6:28 
AnswerRe: How To Bitmap a Push button? Pin
Christian Graus19-Mar-01 11:47
protectorChristian Graus19-Mar-01 11:47 
QuestionProblems with CRecordset DoDataExchange !!!??? Pin
Ariel19-Mar-01 6:18
Ariel19-Mar-01 6:18 
GeneralSending an e-mail message Pin
confalonieri19-Mar-01 5:57
confalonieri19-Mar-01 5:57 
GeneralRe: Sending an e-mail message Pin
l a u r e n19-Mar-01 6:09
l a u r e n19-Mar-01 6:09 
GeneralRe: Sending an e-mail message Pin
BLaZe3-Apr-01 17:21
BLaZe3-Apr-01 17:21 
GeneralATL/COM and MFC Pin
#realJSOP19-Mar-01 4:16
professional#realJSOP19-Mar-01 4:16 

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.