![]() |
Enumerate opened files |
Post Reply
|
Page <123 |
| Author | |
EP_X0FF
Senior Member
Joined: 08 March 2006 Location: Russian Federation Online Status: Offline Posts: 4753 |
Quote Reply
Topic: Enumerate opened filesPosted: 30 September 2007 at 3:52am |
|
Hm. Thats a very very old thread. So nostalgic here. I know all values for object types, BanMe, how this can solve problem with NtQueryObject hung? :)
|
|
|
Ring0 - the source of inspiration
|
|
![]() |
|
marty77
Newbie
Joined: 17 April 2009 Online Status: Offline Posts: 4 |
Quote Reply
Posted: 17 April 2009 at 1:21pm |
I try to compile this project under VS2005 and has got an error (in both debug and release configurations):
walkobjects.obj : error LNK2019: unresolved external symbol _memset referenced in function "unsigned long __stdcall FilenameFromHandle(struct _HTT *)" (?FilenameFromHandle@@YGKPAU_HTT@@@Z) In FilenameFromHandle there is no references to memset. I don't understand, what I do wrong.
|
|
![]() |
|
molotov
Moderator Group
Joined: 04 October 2006 Online Status: Offline Posts: 17287 |
Quote Reply
Posted: 17 April 2009 at 2:17pm |
|
Hi Alex,
Add msvcrt.lib to the Linker's additional dependencies. |
|
|
Daily affirmation:
net helpmsg 4006 |
|
![]() |
|
marty77
Newbie
Joined: 17 April 2009 Online Status: Offline Posts: 4 |
Quote Reply
Posted: 17 April 2009 at 2:40pm |
|
I have got an error on program startup:
---------------------------
Microsoft Visual C++ Runtime Library --------------------------- Runtime Error! Program: f:\work\misc\win32\walkobjects\debug\WalkObjects.exe
R6034
An application has made an attempt to load the C runtime library incorrectly.
Please contact the application's support team for more information. --------------------------- ОК --------------------------- |
|
![]() |
|
molotov
Moderator Group
Joined: 04 October 2006 Online Status: Offline Posts: 17287 |
Quote Reply
Posted: 17 April 2009 at 5:16pm |
|
Sounds like an unhandled exception... Time to debug...
|
|
|
Daily affirmation:
net helpmsg 4006 |
|
![]() |
|
molotov
Moderator Group
Joined: 04 October 2006 Online Status: Offline Posts: 17287 |
Quote Reply
Posted: 18 April 2009 at 5:30pm |
|
Sorry - try using libcmt.lib instead of msvcrt.lib.
|
|
|
Daily affirmation:
net helpmsg 4006 |
|
![]() |
|
marty77
Newbie
Joined: 17 April 2009 Online Status: Offline Posts: 4 |
Quote Reply
Posted: 18 April 2009 at 6:05pm |
Thanks, it works fine - after starting WalkObjects.exe there is no messages displayed, my computer goes to reboot immediately
|
|
![]() |
|
molotov
Moderator Group
Joined: 04 October 2006 Online Status: Offline Posts: 17287 |
Quote Reply
Posted: 18 April 2009 at 6:13pm |
|
|
|
Daily affirmation:
net helpmsg 4006 |
|
![]() |
|
marty77
Newbie
Joined: 17 April 2009 Online Status: Offline Posts: 4 |
Quote Reply
Posted: 18 April 2009 at 6:30pm |
|
Windows XP SP3, configured: reboot on stop error, no dump.
Thanks for help, but I found another way to solve subj problem here - http://www.codeguru.com/Cpp/W-P/system/processesmodules/article.php/c2827/
It looks more simple, and it works good on my system.
|
|
![]() |
|
Post Reply
|
Page <123 |
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |