Click here to Skip to main content
15,925,113 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: divide by 10 problem Pin
David Crow19-Jan-07 9:01
David Crow19-Jan-07 9:01 
GeneralRe: divide by 10 problem Pin
#realJSOP19-Jan-07 13:45
professional#realJSOP19-Jan-07 13:45 
GeneralRe: divide by 10 problem Pin
IGeorgeI19-Jan-07 16:22
IGeorgeI19-Jan-07 16:22 
AnswerRe: divide by 10 problem Pin
Chris Losinger19-Jan-07 9:08
professionalChris Losinger19-Jan-07 9:08 
AnswerRe: divide by 10 problem Pin
John R. Shaw21-Jan-07 1:38
John R. Shaw21-Jan-07 1:38 
QuestionCan't make CEdit::SetTabStops(int, LPINT) work Pin
Bill Brocklebank19-Jan-07 6:56
Bill Brocklebank19-Jan-07 6:56 
QuestionRe: Can't make CEdit::SetTabStops(int, LPINT) work Pin
David Crow19-Jan-07 7:06
David Crow19-Jan-07 7:06 
AnswerRe: Can't make CEdit::SetTabStops(int, LPINT) work Pin
John R. Shaw19-Jan-07 16:52
John R. Shaw19-Jan-07 16:52 
GeneralRe: Can't make CEdit::SetTabStops(int, LPINT) work Pin
Bill Brocklebank20-Jan-07 15:57
Bill Brocklebank20-Jan-07 15:57 
QuestionRe: Can't make CEdit::SetTabStops(int, LPINT) work Pin
David Crow22-Jan-07 3:20
David Crow22-Jan-07 3:20 
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 

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.