Click here to Skip to main content
15,908,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to get app's directory? Pin
IGx895-Nov-02 15:49
IGx895-Nov-02 15:49 
AnswerRe: How to get app's directory? Pin
xipeng5-Nov-02 16:07
xipeng5-Nov-02 16:07 
GeneralRe: How to get app's directory? Pin
IGx895-Nov-02 16:15
IGx895-Nov-02 16:15 
AnswerRe: How to get app's directory? Pin
Anonymous6-Nov-02 0:41
Anonymous6-Nov-02 0:41 
QuestionLogonUser? Pin
imran_rafique5-Nov-02 15:49
imran_rafique5-Nov-02 15:49 
AnswerRe: LogonUser? Pin
ian mariano5-Nov-02 19:19
ian mariano5-Nov-02 19:19 
AnswerRe: LogonUser? Pin
Patje5-Nov-02 21:50
Patje5-Nov-02 21:50 
AnswerRe: LogonUser? Pin
Daniel Lohmann6-Nov-02 1:32
Daniel Lohmann6-Nov-02 1:32 
1) What is the result of GetLastError()?
2) What OS version, SP you are using?

The most common mistake using LogonUser() is that it needs SE_TCB_PRIVILEGE on pre-XP systems. This privilege is (and should be!) granted only to the SYSTEM account, which means that actually only service processes are able to perform a LogonUser()


--

Daniel Lohmann

http://www.losoft.de
(Hey, this page is worth looking! You can find some free and handy NT tools there Big Grin | :-D )
GeneralRe: LogonUser? Pin
JT Anderson6-Nov-02 11:04
JT Anderson6-Nov-02 11:04 
Generala question about printing in dialog Pin
xipeng5-Nov-02 15:37
xipeng5-Nov-02 15:37 
GeneralRe: a question about printing in dialog Pin
Shog95-Nov-02 15:37
sitebuilderShog95-Nov-02 15:37 
GeneralRe: a question about printing in dialog Pin
xipeng5-Nov-02 15:51
xipeng5-Nov-02 15:51 
GeneralRe: a question about printing in dialog Pin
Christian Graus5-Nov-02 16:06
protectorChristian Graus5-Nov-02 16:06 
GeneralRe: a question about printing in dialog Pin
xipeng5-Nov-02 16:18
xipeng5-Nov-02 16:18 
GeneralRe: a question about printing in dialog Pin
Christian Graus5-Nov-02 16:42
protectorChristian Graus5-Nov-02 16:42 
GeneralRe: a question about printing in dialog Pin
Christian Graus5-Nov-02 15:51
protectorChristian Graus5-Nov-02 15:51 
GeneralRe: a question about printing in dialog Pin
Shog95-Nov-02 15:49
sitebuilderShog95-Nov-02 15:49 
GeneralRe: a question about printing in dialog Pin
Christian Graus5-Nov-02 15:53
protectorChristian Graus5-Nov-02 15:53 
GeneralRe: a question about printing in dialog Pin
xipeng5-Nov-02 16:04
xipeng5-Nov-02 16:04 
GeneralRe: a question about printing in dialog Pin
Christian Graus5-Nov-02 16:47
protectorChristian Graus5-Nov-02 16:47 
GeneralRe: a question about printing in dialog Pin
Anonymous5-Nov-02 19:44
Anonymous5-Nov-02 19:44 
GeneralRe: a question about printing in dialog Pin
Christian Graus5-Nov-02 19:42
protectorChristian Graus5-Nov-02 19:42 
GeneralRe: a question about printing in dialog Pin
xipeng5-Nov-02 19:56
xipeng5-Nov-02 19:56 
GeneralRe: a question about printing in dialog Pin
Christian Graus5-Nov-02 19:54
protectorChristian Graus5-Nov-02 19:54 
GeneralRe: a question about printing in dialog Pin
xipeng5-Nov-02 20:05
xipeng5-Nov-02 20:05 

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.