Click here to Skip to main content
15,896,269 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionBeep Pin
mcsherry25-Oct-07 23:46
mcsherry25-Oct-07 23:46 
AnswerRe: Beep Pin
_AnsHUMAN_ 26-Oct-07 1:30
_AnsHUMAN_ 26-Oct-07 1:30 
Questionhow to monitor exe and dll interactions? Pin
George_George25-Oct-07 23:09
George_George25-Oct-07 23:09 
AnswerRe: how to monitor exe and dll interactions? Pin
Jonathan [Darka]26-Oct-07 0:59
professionalJonathan [Darka]26-Oct-07 0:59 
GeneralRe: how to monitor exe and dll interactions? Pin
George_George26-Oct-07 6:44
George_George26-Oct-07 6:44 
GeneralRe: how to monitor exe and dll interactions? Pin
Jonathan [Darka]26-Oct-07 13:03
professionalJonathan [Darka]26-Oct-07 13:03 
GeneralRe: how to monitor exe and dll interactions? Pin
George_George26-Oct-07 21:20
George_George26-Oct-07 21:20 
QuestionGetting active and past local users of system Pin
Subhash Karemore25-Oct-07 22:56
Subhash Karemore25-Oct-07 22:56 
Hi All,

I m using NetWkstaUserEnum() function for getting active users of system.

1) But when I m using this function on windows XP, it works fine on some XP system & for some XP system it gives one user name twice which I don’t want.

2) In server system like windows 2k3 server, we can add other users as remote desktop users other than actual users of system. Total users of that system will be actual users & remote desktop users. More than one users can login to that system at a time.
Consider user1, user2, user3 are actual users of system & user4, user5, user6 are remote desktop users of windows 2003 server system. User1 is currently login. Remote desktop user user4 is logged in & logged out. Remote desktop users user5 & user6 are also logged in. now when I use function NetWkstaUserEnum() for getting active users, expected result is user1, user5 & user6 but it gives the user1 three times & user4, user5, user6. User4 is logged in & logged out, still it giving that user name. I verify this output with one of the tool available on codeproject, it also giving same output which I getting using that function. I don’t whether I m making mistake or is the problem with system. If I m using other API, let me know the API which will give me exact result.

3) Currently I m extracting past local users means which are not currently login from registry. I want to know the API if available for getting past local users.

Thanks,
Subhash

QuestionRe: Getting active and past local users of system Pin
David Crow26-Oct-07 2:58
David Crow26-Oct-07 2:58 
AnswerRe: Getting active and past local users of system Pin
Subhash Karemore1-Nov-07 4:14
Subhash Karemore1-Nov-07 4:14 
GeneralRe: Getting active and past local users of system Pin
David Crow1-Nov-07 4:22
David Crow1-Nov-07 4:22 
QuestionGetting PID of process of network sockets(TCP, UDP) on windows 2000 Pin
Subhash Karemore25-Oct-07 22:53
Subhash Karemore25-Oct-07 22:53 
Questiondirectories in combo box Pin
guru moorthy.k25-Oct-07 22:19
guru moorthy.k25-Oct-07 22:19 
AnswerRe: directories in combo box Pin
Peter Weyzen25-Oct-07 22:24
Peter Weyzen25-Oct-07 22:24 
AnswerRe: directories in combo box Pin
ThatsAlok28-Oct-07 19:51
ThatsAlok28-Oct-07 19:51 
Questionthe Fun IsUserAnAdmin() fails on Windows Vista Pin
junkMind25-Oct-07 21:27
junkMind25-Oct-07 21:27 
AnswerRe: the Fun IsUserAnAdmin() fails on Windows Vista Pin
Peter Weyzen25-Oct-07 21:35
Peter Weyzen25-Oct-07 21:35 
GeneralRe: the Fun IsUserAnAdmin() fails on Windows Vista Pin
junkMind25-Oct-07 22:18
junkMind25-Oct-07 22:18 
GeneralRe: the Fun IsUserAnAdmin() fails on Windows Vista Pin
Peter Weyzen25-Oct-07 22:30
Peter Weyzen25-Oct-07 22:30 
GeneralRe: the Fun IsUserAnAdmin() fails on Windows Vista Pin
junkMind25-Oct-07 22:42
junkMind25-Oct-07 22:42 
Questionchar* to String^ Pin
KienNT7825-Oct-07 21:01
KienNT7825-Oct-07 21:01 
AnswerRe: char* to String^ Pin
Nishad S25-Oct-07 21:13
Nishad S25-Oct-07 21:13 
GeneralRe: char* to String^ Pin
ThatsAlok28-Oct-07 19:55
ThatsAlok28-Oct-07 19:55 
GeneralRe: char* to String^ Pin
Nishad S28-Oct-07 20:06
Nishad S28-Oct-07 20:06 
AnswerRe: char* to String^ Pin
Hamid_RT25-Oct-07 21:13
Hamid_RT25-Oct-07 21:13 

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.