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...
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...
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.
...
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...
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:
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...
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...
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...
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?
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.
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...