Click here to Skip to main content
15,923,164 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Exporting a class from a DLL Pin
Cedric Moonen23-Jan-07 8:33
Cedric Moonen23-Jan-07 8:33 
GeneralRe: Exporting a class from a DLL Pin
Anders Molin23-Jan-07 8:39
professionalAnders Molin23-Jan-07 8:39 
GeneralRe: Exporting a class from a DLL Pin
Cedric Moonen23-Jan-07 8:46
Cedric Moonen23-Jan-07 8:46 
GeneralRe: Exporting a class from a DLL Pin
Anders Molin23-Jan-07 8:53
professionalAnders Molin23-Jan-07 8:53 
GeneralRe: Exporting a class from a DLL Pin
James R. Twine23-Jan-07 8:51
James R. Twine23-Jan-07 8:51 
QuestionError in recordset retrieval Pin
namratab23-Jan-07 7:52
namratab23-Jan-07 7:52 
QuestionRe: Error in recordset retrieval Pin
David Crow23-Jan-07 8:04
David Crow23-Jan-07 8:04 
AnswerRe: Error in recordset retrieval Pin
namratab23-Jan-07 8:17
namratab23-Jan-07 8:17 
GeneralRe: Error in recordset retrieval Pin
David Crow23-Jan-07 8:29
David Crow23-Jan-07 8:29 
Questioncheck value of a bit in byte Pin
kani9823-Jan-07 7:04
kani9823-Jan-07 7:04 
AnswerRe: check value of a bit in byte Pin
Waldermort23-Jan-07 7:15
Waldermort23-Jan-07 7:15 
AnswerRe: check value of a bit in byte Pin
toxcct23-Jan-07 7:22
toxcct23-Jan-07 7:22 
GeneralRe: check value of a bit in byte Pin
Mark Salsbery23-Jan-07 8:20
Mark Salsbery23-Jan-07 8:20 
GeneralRe: check value of a bit in byte Pin
toxcct23-Jan-07 8:24
toxcct23-Jan-07 8:24 
GeneralRe: check value of a bit in byte Pin
Mark Salsbery23-Jan-07 9:26
Mark Salsbery23-Jan-07 9:26 
QuestionFixed format documents Pin
eusto23-Jan-07 3:23
eusto23-Jan-07 3:23 
AnswerRe: Fixed format documents Pin
James R. Twine23-Jan-07 4:12
James R. Twine23-Jan-07 4:12 
GeneralRe: Fixed format documents Pin
eusto23-Jan-07 4:53
eusto23-Jan-07 4:53 
QuestionDisable selection highlighting in a CTreeCtrl Pin
Tnarol23-Jan-07 3:21
Tnarol23-Jan-07 3:21 
QuestionTrue DBGrid in VC++ Pin
liur1723-Jan-07 2:43
liur1723-Jan-07 2:43 
AnswerRe: True DBGrid in VC++ Pin
ThatsAlok23-Jan-07 18:45
ThatsAlok23-Jan-07 18:45 
GeneralRe: True DBGrid in VC++ Pin
liur1723-Jan-07 21:08
liur1723-Jan-07 21:08 
Questioncheck whether user logged in to Local system/domain Pin
sach!!23-Jan-07 2:33
sach!!23-Jan-07 2:33 
AnswerRe: check whether user logged in to Local system/domain Pin
David Crow23-Jan-07 3:03
David Crow23-Jan-07 3:03 
GeneralRe: check whether user logged in to Local system/domain Pin
sach!!23-Jan-07 3:17
sach!!23-Jan-07 3:17 
Hi !
Thanks for the reply..

I am using NetUserGetInfo() to get the user information and SID.
I used LookupAccountSid() to get the domain name.

Now if user is Local user, domain name will be local machine name and if he is a domain user then domain name will be set accordingly.

But how to determine this as domain-name and machine name can be same..

Thank u.

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.