Window Less Execution

This is a discussion on Window Less Execution within the A Brief History of Cprogramming.com forums, part of the Community Boards category; I wish to make a small reminder programme for me, where the programme will execute every time the computer switches ...

  1. #1
    Registered User
    Join Date
    Jul 2002
    Posts
    24

    Lightbulb Window Less Execution

    I wish to make a small reminder programme for me, where the programme will execute every time the computer switches on and will check for the date and if it matches the once in its records will remind me to do certain work, like taking backups or send birthday greetings etc.
    But I do not want the dos window to open up on the screen or be visible on the task bar every time I switch on my computer.
    Can anyone advise me how to proceed with the stealth part of the programme ?

  2. #2
    Registered User
    Join Date
    Jul 2002
    Posts
    24

    Lightbulb No

    The programme will run as a DOS programme but in the Windows environment. It will have nothing to do with the Windows API.

  3. #3
    Registered User moonwalker's Avatar
    Join Date
    Jul 2002
    Posts
    282

    hmm

    there're already programs that do that.
    you can download them for free too.

  4. #4
    Registered User
    Join Date
    Jul 2002
    Posts
    24

    Lightbulb :)

    Its fun to make one.
    So can anyone help me ?

  5. #5
    Registered User moonwalker's Avatar
    Join Date
    Jul 2002
    Posts
    282

    don't know about stealth execution

    what part do you want help with ?

  6. #6
    Registered User
    Join Date
    Jul 2002
    Posts
    24

    Lightbulb :)

    I can make the programme but do not want it to be displayed on the screen or the task bar every time it executes (with every boot up). This is the part (the hiding part) where I need help.

  7. #7
    Disagreeably Disagreeable
    Join Date
    Aug 2001
    Posts
    711
    Windows's application manager is the code that is responsible for managing windows and the sort, and therefore what you want to do is impossible in DOS.

  8. #8
    Registered User
    Join Date
    Jul 2002
    Posts
    24

    But

    But then how do some stealth programmes work ? Do they use WinAPI ? And what about TSR's how do they work? Don't they also work in DOS ?

    A question for Hillbillie ? What is so special about BeOS ? What extra do we get there ? And what is OPEN BeOS ? I am new to this OS !

  9. #9
    Registered User Unimatrix139's Avatar
    Join Date
    Jun 2002
    Posts
    55

    TSRs

    TSRs work by loading themselves into memory and tagging onto an interupt - e.g. if the TSR tags onto tjhe keyboard interupt, it will be able to 'do' something whenever a key is pressed (or a series of keys). A TSR would only 'exist' in the eyes of DOS when loading, and would not show up as a 'box' in windows. Its basically the perfect solution to your problem! However programming a TSR in ANSI C is very difficult and it is a good idea to get a compiler with TSR functions 'built-in'. Hope that helps!
    Kree'ta Tau'ri! Chaapa'ai!

  10. #10
    Disagreeably Disagreeable
    Join Date
    Aug 2001
    Posts
    711
    >ut then how do some stealth programmes work ?<

    Define what a stealth program is.

    >nd what about TSR's how do they work?<

    Well, here's a general explaination: TSRs tell a system service (usually an interrupt) to execute a certain peice of code. After they program the system service, they will terminate.

    > Don't they also work in DOS ?<

    A DOS TSR works in DOS. A Windows TSR can't.

    > question for Hillbillie ? What is so special about BeOS ?<

    Here's 10 reasons why you should try BeOS.

    >And what is OPEN BeOS ?<

    http://open-beos.sourceforge.net

    It's an open-source effort to recreate the BeOS. Seems like it's coming along pretty good.

  11. #11
    Registered User
    Join Date
    Jun 2002
    Posts
    267
    There goes Hillbillie, pushing BeOS again

    Actually, I totally respect BeOS, and when I have time I'd like to sit down and work with it

  12. #12
    Registered User sean345's Avatar
    Join Date
    Mar 2002
    Posts
    346
    What you have to do is create your project as a windows project and then just don't create a window or console window. Run your code and exit. This is the only way I can think to do it.

    - Sean
    If cities were built like software is built, the first woodpecker to come along would level civilization.
    Black Frog Studios

  13. #13
    Disagreeably Disagreeable
    Join Date
    Aug 2001
    Posts
    711
    >There goes Hillbillie, pushing BeOS again<

    Hey, he asked me!

  14. #14
    Registered User
    Join Date
    Jul 2002
    Posts
    24

    Hey

    Hey its no fault of Hillbillie !

    I asked him about BeOS !

    Sorry Dear

    And thanks all of you for your suggestions.

  15. #15
    Registered User
    Join Date
    May 2002
    Posts
    83
    "What this country needs is more free speech worth listening to." - -Hansell B. Duckett

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. WM_CAPTION causing CreateWindowEx() to fail.
    By Necrofear in forum Windows Programming
    Replies: 8
    Last Post: 04-06-2007, 08:23 AM
  2. 6 measly errors
    By beene in forum Game Programming
    Replies: 11
    Last Post: 11-14-2006, 10:06 AM
  3. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 12:34 PM
  4. problem with open gl engine.
    By gell10 in forum Game Programming
    Replies: 1
    Last Post: 08-21-2003, 04:10 AM
  5. OpenGL and Windows
    By sean345 in forum Game Programming
    Replies: 5
    Last Post: 06-24-2002, 10:14 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21