Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: stoneyrh

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. How to start process without loading global hook?

    Hi, everyone,

    I had created a global hook by SetWindowsHookEx with WH_CALLWNDPROC. It is used to create a new toolbar button in specific window in the specific (3rd party) program (named...
  2. Load and unload file system filter driver dynamically

    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...
  3. Re: How to direct access physical drive on Vista

    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...
  4. Re: How to direct access physical drive on Vista

    Still waiting for response, could anybody give me a hand?
    Thanks
  5. How to direct access physical drive on Vista

    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...
  6. Replies
    6
    Views
    422

    Re: Error issued by 'extern template'

    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.
    ...
  7. Replies
    6
    Views
    422

    Re: Error issued by 'extern template'

    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...
  8. Replies
    6
    Views
    422

    Re: Error issued by 'extern template'

    I am sorry for confusing you.

    The class is similar to the follwing class:

    template <typename T>
    class TemplateClass
    {
    public:
    TemplateClass(){};
    ~TemplateClass(){};
  9. Replies
    6
    Views
    422

    Error issued by 'extern template'

    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...
  10. How can I modify the volume label of a mapnet drive?

    I want to use the function SetVolumeLabel, but I failed with ACCESS_DENY.
    What I should if I want to modify the volume label?

    Thanks!!!
  11. Re: Can anyone tell me what the problem is about this global mouse hook?

    OK, I found the new SDK and downloaded it.
    Thanks a million.
  12. Re: Can anyone tell me what the problem is about this global mouse hook?

    I want to use WH_MOUSE_LL, but the compiler can't recognize it.
    Maybe I should upgrade it to VC7.0.
  13. Re: Can anyone tell me what the problem is about this global mouse hook?

    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...
  14. Re: Can anyone tell me what the problem is about this global mouse hook?

    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...
  15. Re: Can anyone tell me what the problem is about this global mouse hook?

    WH_MOUSE

    I find that WH_KEYBOARD encounters the same problem.
  16. Replies
    11
    Views
    1,150

    Re: How to suspend a process?

    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...
  17. Can anyone tell me what the problem is about this global mouse hook?

    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...
  18. Replies
    11
    Views
    1,150

    Re: How to suspend a process?

    To To Alin: I have read the page you gave. I would try that way.Thanks a million.
  19. Replies
    11
    Views
    1,150

    Re: How to suspend a process?

    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...
  20. Replies
    11
    Views
    1,150

    Re: How to suspend a process?

    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.
  21. Replies
    11
    Views
    1,150

    Re: How to suspend a process?

    Close the process?
    What is the meaning?
    and,
    How to do it?

    Thanks.
  22. Replies
    11
    Views
    1,150

    How to suspend a process?

    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...
  23. Replies
    22
    Views
    11,178

    Is the CRC value exclusive?

    Is the CRC value exclusive?
  24. Replies
    22
    Views
    11,178

    Hi,TDM.I would think about your idea too. Thanks...

    Hi,TDM.I would think about your idea too.
    Thanks a lot.
  25. Replies
    22
    Views
    11,178

    Thank Marc from D. I will think about your idea....

    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.
Results 1 to 25 of 60
Page 1 of 3 1 2 3


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center