Click here to Skip to main content
15,885,067 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: One line miss problem Pin
bob1697212-May-07 23:29
bob1697212-May-07 23:29 
GeneralRe: One line miss problem Pin
hsuch13-May-07 7:43
hsuch13-May-07 7:43 
QuestionDistinguish Thread State(running or suspend) Pin
A_Fa12-May-07 19:03
A_Fa12-May-07 19:03 
AnswerRe: Distinguish Thread State(running or suspend) Pin
Mark Salsbery13-May-07 6:23
Mark Salsbery13-May-07 6:23 
QuestionVC++ 6.0 and VSS integration registry entries - again Pin
Vaclav_12-May-07 14:04
Vaclav_12-May-07 14:04 
QuestionVisual Styles - Edit Control Pin
Meh!12-May-07 13:44
Meh!12-May-07 13:44 
AnswerRe: Visual Styles - Edit Control Pin
Perspx13-May-07 0:15
Perspx13-May-07 0:15 
QuestionMonitor open files on a share Pin
Vadim Tabakman12-May-07 13:35
Vadim Tabakman12-May-07 13:35 
Hi all,

I've hunted around, but can't seem to find anything on this. I could be searching for the wrong keywords.

What I'd need to do, is monitor all the shares on the local pc, and take note of open files, and which user has the files open. So far I can use NetSession enum to get some info, but it gives me "[::1]" in the sesi2_cname field. It doesn't tell me what files are open though for the user it tells me about.

Does anyone have any recommendations?

Cheers
Jubjub

"If you're too careful, your whole life can become a f---in' grind." - Mike McD (Rounders)

AnswerRe: Monitor open files on a share Pin
Vadim Tabakman12-May-07 16:47
Vadim Tabakman12-May-07 16:47 
GeneralRe: Monitor open files on a share Pin
erajsri13-May-07 22:32
erajsri13-May-07 22:32 
QuestionCorrect usage of reinterpret_cast and static_cast Pin
ComplexLifeForm12-May-07 10:03
ComplexLifeForm12-May-07 10:03 
AnswerRe: Correct usage of reinterpret_cast and static_cast Pin
John R. Shaw12-May-07 10:58
John R. Shaw12-May-07 10:58 
AnswerRe: Correct usage of reinterpret_cast and static_cast Pin
bob1697212-May-07 12:06
bob1697212-May-07 12:06 
GeneralRe: Correct usage of reinterpret_cast and static_cast Pin
John R. Shaw12-May-07 12:36
John R. Shaw12-May-07 12:36 
GeneralRe: Correct usage of reinterpret_cast and static_cast Pin
bob1697212-May-07 13:20
bob1697212-May-07 13:20 
GeneralRe: Correct usage of reinterpret_cast and static_cast Pin
Stephen Hewitt13-May-07 15:00
Stephen Hewitt13-May-07 15:00 
GeneralRe: Correct usage of reinterpret_cast and static_cast Pin
John R. Shaw14-May-07 15:12
John R. Shaw14-May-07 15:12 
GeneralRe: Correct usage of reinterpret_cast and static_cast Pin
ComplexLifeForm12-May-07 21:11
ComplexLifeForm12-May-07 21:11 
GeneralRe: Correct usage of reinterpret_cast and static_cast Pin
bob1697213-May-07 2:07
bob1697213-May-07 2:07 
AnswerRe: Correct usage of reinterpret_cast and static_cast Pin
Michael Dunn13-May-07 6:24
sitebuilderMichael Dunn13-May-07 6:24 
GeneralRe: Correct usage of reinterpret_cast and static_cast Pin
Stephen Hewitt13-May-07 14:31
Stephen Hewitt13-May-07 14:31 
GeneralRe: Correct usage of reinterpret_cast and static_cast Pin
bob1697213-May-07 19:41
bob1697213-May-07 19:41 
GeneralRe: Correct usage of reinterpret_cast and static_cast Pin
Stephen Hewitt13-May-07 19:48
Stephen Hewitt13-May-07 19:48 
GeneralRe: Correct usage of reinterpret_cast and static_cast Pin
Stephen Hewitt13-May-07 16:46
Stephen Hewitt13-May-07 16:46 
AnswerRe: Correct usage of reinterpret_cast and static_cast Pin
Stephen Hewitt13-May-07 15:04
Stephen Hewitt13-May-07 15:04 

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.