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

C / C++ / MFC

 
QuestionRe: get printer status............ Pin
David Crow16-Oct-08 3:08
David Crow16-Oct-08 3:08 
QuestionRegarding NetUserAdd Pin
H4u3215-Oct-08 19:25
H4u3215-Oct-08 19:25 
AnswerRe: Regarding NetUserAdd Pin
Rajesh R Subramanian15-Oct-08 21:09
professionalRajesh R Subramanian15-Oct-08 21:09 
GeneralRe: Regarding NetUserAdd Pin
H4u3215-Oct-08 21:37
H4u3215-Oct-08 21:37 
GeneralRe: Regarding NetUserAdd Pin
Rajesh R Subramanian15-Oct-08 22:01
professionalRajesh R Subramanian15-Oct-08 22:01 
GeneralRe: Regarding NetUserAdd Pin
H4u3215-Oct-08 23:25
H4u3215-Oct-08 23:25 
GeneralRe: Regarding NetUserAdd Pin
Rajesh R Subramanian16-Oct-08 1:13
professionalRajesh R Subramanian16-Oct-08 1:13 
GeneralRe: Regarding NetUserAdd Pin
H4u3216-Oct-08 2:20
H4u3216-Oct-08 2:20 
I have console based appliacation. So i used following code to determine it.


nStatus = NetUserSetInfo(NULL,pswzUser,dwLevel1005,(LPBYTE)&ui1005,NULL);

if(nStatus != NERR_Success)
fprintf(stderr, "NetUserSetInfo failed with error: %d\n", nStatus);

And above code gives me following error.

NetUserSetInfo failed with error: 87

Any suggestion. Please help me.

Thanks,
Hemang
GeneralRe: Regarding NetUserAdd Pin
Rajesh R Subramanian16-Oct-08 2:33
professionalRajesh R Subramanian16-Oct-08 2:33 
GeneralRe: Regarding NetUserAdd Pin
H4u3216-Oct-08 2:36
H4u3216-Oct-08 2:36 
GeneralRe: Regarding NetUserAdd Pin
Rajesh R Subramanian16-Oct-08 2:59
professionalRajesh R Subramanian16-Oct-08 2:59 
GeneralRe: Regarding NetUserAdd Pin
H4u3216-Oct-08 3:17
H4u3216-Oct-08 3:17 
QuestionRe: Regarding NetUserAdd Pin
David Crow17-Oct-08 5:00
David Crow17-Oct-08 5:00 
Questionhi, all, the EDIT have already add ES_PASSWORD, but I want to Input DoubleChar, how to do it? Pin
61934514215-Oct-08 17:18
61934514215-Oct-08 17:18 
QuestionRe: hi, all, the EDIT have already add ES_PASSWORD, but I want to Input DoubleChar, how to do it? Pin
David Crow15-Oct-08 17:30
David Crow15-Oct-08 17:30 
AnswerRe: hi, all, the EDIT have already add ES_PASSWORD, but I want to Input DoubleChar, how to do it? Pin
61934514215-Oct-08 18:23
61934514215-Oct-08 18:23 
GeneralRe: hi, all, the EDIT have already add ES_PASSWORD, but I want to Input DoubleChar, how to do it? Pin
Rajesh R Subramanian15-Oct-08 20:59
professionalRajesh R Subramanian15-Oct-08 20:59 
GeneralRe: hi, all, the EDIT have already add ES_PASSWORD, but I want to Input DoubleChar, how to do it? Pin
CPallini15-Oct-08 22:01
mveCPallini15-Oct-08 22:01 
GeneralRe: hi, all, the EDIT have already add ES_PASSWORD, but I want to Input DoubleChar, how to do it? Pin
Rajesh R Subramanian15-Oct-08 22:11
professionalRajesh R Subramanian15-Oct-08 22:11 
GeneralRe: hi, all, the EDIT have already add ES_PASSWORD, but I want to Input DoubleChar, how to do it? Pin
Rajesh R Subramanian15-Oct-08 22:09
professionalRajesh R Subramanian15-Oct-08 22:09 
GeneralRe: hi, all, the EDIT have already add ES_PASSWORD, but I want to Input DoubleChar, how to do it? Pin
CPallini15-Oct-08 22:18
mveCPallini15-Oct-08 22:18 
GeneralRe: hi, all, the EDIT have already add ES_PASSWORD, but I want to Input DoubleChar, how to do it? Pin
Rajesh R Subramanian15-Oct-08 22:25
professionalRajesh R Subramanian15-Oct-08 22:25 
GeneralRe: hi, all, the EDIT have already add ES_PASSWORD, but I want to Input DoubleChar, how to do it? Pin
CPallini15-Oct-08 23:16
mveCPallini15-Oct-08 23:16 
GeneralRe: hi, all, the EDIT have already add ES_PASSWORD, but I want to Input DoubleChar, how to do it? Pin
Rajesh R Subramanian15-Oct-08 23:34
professionalRajesh R Subramanian15-Oct-08 23:34 
QuestionCMimeMessage error please help Pin
monsieur_jj15-Oct-08 16:57
monsieur_jj15-Oct-08 16:57 

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.