Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. HowTo simulate a 'dumb' terminal in 95/98/ME/NT/2K/XP

HowTo simulate a 'dumb' terminal in 95/98/ME/NT/2K/XP

Scheduled Pinned Locked Moved C / C++ / MFC
businessjsonhelpquestion
7 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Alexinuk
    wrote on last edited by
    #1

    If anyone can help with the following i'll be eternally grateful... One of the requirements of a project i'm working on is that users of this app are unable to access windows - i.e. when the computer is powered, windows loads, then our app. users shut their computer down from within the app, and must be unable to access windows with CTRL+ALT+DELETE, ALT+F4, ALT+TAB etc. I know that you can do this for 95/98 and ME by using some screensaver API calls, but apparently this won't work for all windows versions. any ideas? Thanks in advance, Alex

    H 1 Reply Last reply
    0
    • A Alexinuk

      If anyone can help with the following i'll be eternally grateful... One of the requirements of a project i'm working on is that users of this app are unable to access windows - i.e. when the computer is powered, windows loads, then our app. users shut their computer down from within the app, and must be unable to access windows with CTRL+ALT+DELETE, ALT+F4, ALT+TAB etc. I know that you can do this for 95/98 and ME by using some screensaver API calls, but apparently this won't work for all windows versions. any ideas? Thanks in advance, Alex

      H Offline
      H Offline
      HENDRIK R
      wrote on last edited by
      #2

      All key combinations (apart form Strg+Alt+Entf - here you'll need to replace MSGINA.DLL) can be handled and thus permitted by installing a windows hook. To get it work for your whole windows sessin, place the hook procedure inside a DLL. You'll find many informations about that in MSDN - try searching for SetWindowsHookEx.

      A 1 Reply Last reply
      0
      • H HENDRIK R

        All key combinations (apart form Strg+Alt+Entf - here you'll need to replace MSGINA.DLL) can be handled and thus permitted by installing a windows hook. To get it work for your whole windows sessin, place the hook procedure inside a DLL. You'll find many informations about that in MSDN - try searching for SetWindowsHookEx.

        A Offline
        A Offline
        Alexinuk
        wrote on last edited by
        #3

        Cheers Mate. Is this the only way? will this work on all windows (95/98/....etc)? Regards, Alex

        R H 2 Replies Last reply
        0
        • A Alexinuk

          Cheers Mate. Is this the only way? will this work on all windows (95/98/....etc)? Regards, Alex

          R Offline
          R Offline
          Rage
          wrote on last edited by
          #4

          Alexinuk wrote: will this work on all windows (95/98/....etc)? Yes. Use the WindowsHookEx for the latest versions, or WindowsHook for backward compatibility. Alexinuk wrote: Is this the only way? Yes. ~RaGE();

          A 1 Reply Last reply
          0
          • R Rage

            Alexinuk wrote: will this work on all windows (95/98/....etc)? Yes. Use the WindowsHookEx for the latest versions, or WindowsHook for backward compatibility. Alexinuk wrote: Is this the only way? Yes. ~RaGE();

            A Offline
            A Offline
            Alexinuk
            wrote on last edited by
            #5

            Win98 doesn't have an MSGINA.DLL though does it?

            H 1 Reply Last reply
            0
            • A Alexinuk

              Cheers Mate. Is this the only way? will this work on all windows (95/98/....etc)? Regards, Alex

              H Offline
              H Offline
              HENDRIK R
              wrote on last edited by
              #6

              Alexinuk wrote: Is this the only way I don't know if it's the only one, but it should be the best! You could possibly write you own keyboard driver - but that won't be easier. And system-wide hooks (that one's inside DLLs) even work for catching all input. Alexinuk wrote: will this work on all windows (95/98/....etc)? Sure - do you expect anything else from MS? :)

              1 Reply Last reply
              0
              • A Alexinuk

                Win98 doesn't have an MSGINA.DLL though does it?

                H Offline
                H Offline
                HENDRIK R
                wrote on last edited by
                #7

                Replacement of MSGINA.DLL is only needed for disabling Strg+Alt+Entf. All other key events can be handled by hooks. Alexinuk wrote: Win98 doesn't have an MSGINA.DLL though does it? Well I think it's only provided for WinNT and higher:~ :confused:

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups