Click here to Skip to main content
15,891,513 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Can't make CEdit::SetTabStops(int, LPINT) work Pin
John R. Shaw28-Jan-07 7:47
John R. Shaw28-Jan-07 7:47 
QuestionTransparent checkbox text? Pin
madmax000119-Jan-07 5:47
madmax000119-Jan-07 5:47 
AnswerRe: Transparent checkbox text? Pin
Mark Salsbery19-Jan-07 6:53
Mark Salsbery19-Jan-07 6:53 
GeneralRe: Transparent checkbox text? Pin
madmax000120-Jan-07 9:10
madmax000120-Jan-07 9:10 
GeneralRe: Transparent checkbox text? Pin
Mark Salsbery20-Jan-07 10:26
Mark Salsbery20-Jan-07 10:26 
AnswerRe: Transparent checkbox text? Pin
Ralf Lohmueller20-Jan-07 16:38
Ralf Lohmueller20-Jan-07 16:38 
GeneralRe: Transparent checkbox text? Pin
madmax000122-Jan-07 8:27
madmax000122-Jan-07 8:27 
QuestionNetUserGetInfo returns 1008 (GetLastError) Pin
gbabu1719-Jan-07 5:41
gbabu1719-Jan-07 5:41 
Hi,

I am developing a dll which uses NetUserGetInfo to retreive the home directory of a Domain user.
NetUserGetInfo returns 1008 error code.

my usage of function:
NetUserGetInfo(Domain-server,domain-user,11,buf)

The problem i was thinking was, The dll is launched by a local user(admin privilages) on a system which is in the same domain. SO may be the local user does not have enough permissions to use the NetUserGetInfo function to retreive the necessary information.

My questions:

1. Is it possible to provide enough permissions for the local-user, How?

2. The other alternate is to connect to domain-server with some power user and then use the NetUserGetInfo function. But I do not find suitable function to connect to domain server with a power user credentials in windows network management API(netapi32.lib)

Thanks for the help



QuestionRe: NetUserGetInfo returns 1008 (GetLastError) Pin
David Crow19-Jan-07 6:13
David Crow19-Jan-07 6:13 
AnswerRe: NetUserGetInfo returns 1008 (GetLastError) Pin
gbabu1719-Jan-07 7:36
gbabu1719-Jan-07 7:36 
QuestionRe: NetUserGetInfo returns 1008 (GetLastError) Pin
David Crow19-Jan-07 7:41
David Crow19-Jan-07 7:41 
AnswerRe: NetUserGetInfo returns 1008 (GetLastError) Pin
gbabu1719-Jan-07 19:54
gbabu1719-Jan-07 19:54 
QuestionInitializeCriticalSection throws ... something ? Pin
Mr.Brainley19-Jan-07 5:31
Mr.Brainley19-Jan-07 5:31 
AnswerRe: InitializeCriticalSection throws ... something ? Pin
David Crow19-Jan-07 5:59
David Crow19-Jan-07 5:59 
GeneralRe: InitializeCriticalSection throws ... something ? Pin
Mr.Brainley19-Jan-07 6:28
Mr.Brainley19-Jan-07 6:28 
GeneralRe: InitializeCriticalSection throws ... something ? Pin
David Crow19-Jan-07 6:49
David Crow19-Jan-07 6:49 
GeneralRe: InitializeCriticalSection throws ... something ? Pin
led mike19-Jan-07 7:08
led mike19-Jan-07 7:08 
GeneralRe: InitializeCriticalSection throws ... something ? Pin
David Crow19-Jan-07 7:32
David Crow19-Jan-07 7:32 
AnswerRe: InitializeCriticalSection throws ... something ? Pin
Mark Salsbery19-Jan-07 7:16
Mark Salsbery19-Jan-07 7:16 
Questionsend a short message from an application to a mobile phone Pin
nahitan19-Jan-07 5:22
nahitan19-Jan-07 5:22 
AnswerRe: send a short message from an application to a mobile phone Pin
David Crow19-Jan-07 5:51
David Crow19-Jan-07 5:51 
AnswerRe: send a short message from an application to a mobile phone Pin
Kiran Pinjala19-Jan-07 22:17
Kiran Pinjala19-Jan-07 22:17 
Questiongmtime() crash Pin
SteveRubio19-Jan-07 5:14
SteveRubio19-Jan-07 5:14 
AnswerRe: gmtime() crash Pin
David Crow19-Jan-07 5:49
David Crow19-Jan-07 5:49 
GeneralRe: gmtime() crash Pin
SteveRubio19-Jan-07 6:32
SteveRubio19-Jan-07 6:32 

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.