Type: Posts; User: stoneyrh
Search took 0.01 seconds.
December 25th, 2010, 11:27 PM
I have created a simple disk filter driver based on DDK sample, it works fine with INF installation. But what I am going to do is removing the INF file, then when the user needs it (before some file...
I am also running as administrator too, but I can only read from a dist, when writing to another disk, it also returns 'Access is denied'. I found that it requires a flag named SL_FORCE_DIRECT_WRITE...
Still waiting for response, could anybody give me a hand?
Hi, all, I got that CreateFile with a file name \\.\PhysicalDriveX can open a handle for direct accessing to appropriate disk, but as it is said in MSDN, it doesn't work for Vista. When I try to do...
July 13th, 2007, 03:58 AM
I see what goes wrong. The appropriate cpp file was missing. Those three functions were implemented there. That's the first time I encounter this kind of code, and it cost me almost four hours.
July 13th, 2007, 02:04 AM
I understand that the definition of a template class member function must be included in the template class. The keyworks 'extern template' seem strange. As said in this document , it is used to...
July 13th, 2007, 01:02 AM
I am sorry for confusing you.
The class is similar to the follwing class:
template <typename T>
July 13th, 2007, 12:29 AM
There is a template class with three of member functions without implementation. But at the end of the header file of the class, something like the following appears:
extern template void...
June 28th, 2005, 11:34 PM
I want to use the function SetVolumeLabel, but I failed with ACCESS_DENY.
What I should if I want to modify the volume label?
September 19th, 2004, 08:02 PM
OK, I found the new SDK and downloaded it.
Thanks a million.
September 16th, 2004, 08:30 PM
I want to use WH_MOUSE_LL, but the compiler can't recognize it.
Maybe I should upgrade it to VC7.0.
September 16th, 2004, 08:26 PM
Oh, thank you, JohnCz. I will study the examples carefully.
By the way, I don't know exactly what use of the first parameter-nCode-of hook procedures. MSDN says that if it is less than zero, the...
September 15th, 2004, 07:28 PM
What I want to do is to lock a computer. That is to say, to prevent the system from sending all the mouse and keyboard inputs to all applications when the hooks(mouse hook and keyboard hook) is...
September 14th, 2004, 10:24 PM
I find that WH_KEYBOARD encounters the same problem.
September 14th, 2004, 06:08 AM
If it has been #define _WIN32_WINNT to be greater than 0x0500 before #including Windows.h, does my app work properly? Of course, under Win2K. But I don't know why. Because all the headers and...
September 14th, 2004, 05:12 AM
I have installed a global mouse hook. Then when I finish doing something, I call UnhookWindowsHookEx to cancel this hook. But when I want to install the hook again, the function SetWindowsHookEx...
September 13th, 2004, 08:30 AM
To To Alin: I have read the page you gave. I would try that way.Thanks a million.
September 13th, 2004, 08:16 AM
I search word "OpenThread" in the file "WinBase.h". But I can't find the declaration of this function. Does it mean VC6.0 does not support this operation?
If it is true, what function shoud I use...
September 13th, 2004, 08:15 AM
To VictorN: I use Windows 2000 Server.
To Alin:Yes, I know how to kill a process. What I want to do is just suspend it, then after I do some work, I will resume it again. But thanks all the same.
September 13th, 2004, 08:03 AM
Close the process?
What is the meaning?
How to do it?
September 13th, 2004, 07:40 AM
I want to suspend a process for some purpose, but I find it there is no a function name "SuspendProcess". I found a function "SuspendThread" instead.
Then I want to enumerate all threads in the...
March 14th, 2004, 09:36 PM
Is the CRC value exclusive?
March 7th, 2004, 12:59 AM
Hi,TDM.I would think about your idea too.
Thanks a lot.
March 6th, 2004, 05:57 AM
Thank Marc from D. I will think about your idea. And if I still have any questions, I will bother you again.:)
And thank Mick too.Maybe your answer gives me a great help.
March 5th, 2004, 12:29 AM
That is a good idea to solve the problem.
But there still has some difficulties.
The manager who installs the application may forget which number has been assigned.So he/she doesn't know what...
Click Here to Expand Forum to Full Width