Results 1 to 4 of 4

Thread: Hacking illegal operations

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 1999
    Location
    Prague, Czech Republic
    Posts
    350
    Win95/98

    When some application performs an illegal operation, it brings up funny dialog with a red cross on it. You have two ways what to do - a 'Close' button and a 'Details' button, which slighty informs you about the error.

    You have one choice more. Run MS Spy++ and look for this dialog. You will three buttons, the 'Debug' one isn't visible.

    Now run VB, and use ShowWindow & EnableWindow API to show up this button. It will be minimized on the form. Double-click it (or send a message to it) to get the standard button appearance. Save any other work and press it. Risible, isn't it?

    OK. Why do you think Microsoft included this button to the form but didn't allowed it?

    PS1: I don't know what about WinNT.
    PS2: I don't know exactly button names because of my non-english Windows.

    Johnny

  2. #2
    Hyperactive Member marnitzg's Avatar
    Join Date
    Oct 2000
    Location
    South Africa
    Posts
    372
    If you install MS Visual C++ this button shows up. It dumps the code that caused the error into VC. Its mainly used for developers debugging huge programs, then it crashes and they don't know why. Nice feature actually.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 1999
    Location
    Prague, Czech Republic
    Posts
    350
    I have MS VisualStudio installed and the button remained hidden.

    I tried to make some VB-program in VS, but I saw how VB is different from VS. Have I to obtain VC, if I would like to use all of its advantages?

  4. #4
    Hyperactive Member marnitzg's Avatar
    Join Date
    Oct 2000
    Location
    South Africa
    Posts
    372
    If you have VS 5 or 6, installing VC will automatically enable this option. You ask if you have to obtain VC, it should come with your package of VS.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width