Search:

Type: Posts; User: KinoCode

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    1,862

    Consider the programs virtual address space as...

    Consider the programs virtual address space as that programs own sand box. The computer maps all virtual addresses to real memory addresses (or virtual memory - ie swap file). This way, if a...
  2. Replies
    4
    Views
    1,776

    Microangelo is the best I've seen. Awesome...

    Microangelo is the best I've seen. Awesome features and very professional editor. It can also do animated and transparent icons as well as cursors.
  3. Replies
    7
    Views
    1,272

    Well, if your creating your windows from scratch...

    Well, if your creating your windows from scratch using regions, then you will need to create a function to respond to mouse clicks. Just call the function from WM_LBUTTONDOWN. Pass the LPARAM to...
  4. Replies
    13
    Views
    1,914

    I believe that the DELETE flag for CreateFile()...

    I believe that the DELETE flag for CreateFile() is based on user access rights, and not on current file operations. Therefore, the user may have the rights to delete the file, but still would not be...
  5. Replies
    13
    Views
    1,914

    It's not locked in the since that a process has...

    It's not locked in the since that a process has called LockFile(), it's just the file has been opened for reading by another process. In NT/2000/XP, if a file is open by another process already,...
  6. Replies
    13
    Views
    1,914

    That would be even slower than renaming the file.

    That would be even slower than renaming the file.
  7. Thread: difference

    by KinoCode
    Replies
    2
    Views
    1,355

    Dual booting

    Which every OS has it's code in the Master Boot record will be loaded when the system starts. There are programs like System Commander that will allow you to load many different OS's and when you...
  8. Replies
    13
    Views
    1,914

    The reason...

    The reason I need to know before I delete is that I need to zero the file out before deleting. If I zero the file out, then try to delete and I can't delete, then I don't want to delete the file. ...
  9. Replies
    13
    Views
    1,914

    Determining the ability to delete a file

    I need to be able to determine if I can delete a file in NT/2000/XP, before actually deleteing it. The problem is, other applications may already have an open handle to the file. This causes any...
  10. Replies
    2
    Views
    1,016

    Solution

    There is an API function for selecting folders:

    SHBrowseForFolder

    This function can also be overloaded so that you can embed it into a dialog of your choice.
  11. Replies
    2
    Views
    3,434

    Detecting Keyboard Hooks

    Does anybody know of a way to detect global keyboard hooks? I want to be able to detect keyboard hooks and possibly remove them from the system.

    Basically, a way to stop key loggers from stealing...
  12. Replies
    20
    Views
    2,590

    Danger Will Robinson! Danger!

    Well, you put code after you return FALSE to the OS. This code will never be reached. I think the best move for you is to do this:

    case WM_QUERYENDSESSION:
    case WM_DESTROY:
    case WM_CLOSE:
    ...
  13. Replies
    20
    Views
    2,590

    Files on Shutdown

    First off, change your case statement in your procedure function to:

    case WM_DESTROY:
    case WM_CLOSE:
    get_second_time();
    PostQuitMessage(0);
    break;

    This way your...
  14. Replies
    3
    Views
    1,314

    Window Ownership

    Did you set the "HWND hwndOwner" and "HINSTANCE hInstance" variables in the OPENFILENAME struct? If so, I believe the dialog should center on the owners window.
  15. Replies
    6
    Views
    4,055

    Going LOW level

    Well, if you want to go low level, then you can write kernel mode drivers (NT/2000/XP) and process interupt request packets (IRP's) yourself. There are a couple of companies that sell both libraries...
  16. Replies
    6
    Views
    4,055

    Are you wanting to handle interrupts so that you...

    Are you wanting to handle interrupts so that you can read data the moment it arrives at the port? If so, there's an excellent article on MSDN called "Serial Communications in Win32" that shows you...
Results 1 to 16 of 16