Thread: Memory Eating - Dangerous?

  1. #16
    Confused
    Join Date
    Nov 2002
    Location
    Warwick, UK
    Posts
    209
    Ah, I understand... This means a program can run without actually being a "process" ? I mean, if the console is destroyed, how can it still change computer memory ?

  2. #17
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    Huh?

    A program can't run without being a process. A process is the OS-internal representation of an instance of the program.

    But it doesn't need a console to change memory. The console hiding is just so that the evil little proggy isn't in plain view of the user.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  3. #18
    Grammar Police HybridM's Avatar
    Join Date
    Jan 2003
    Posts
    355
    Presumably is analogous to a Windows program not drawing a window and not having a system tray icon, thus being visible only in task manager.
    Thor's self help tip:
    Maybe a neighbor is tossing leaf clippings on your lawn, looking at your woman, or harboring desires regarding your longboat. You enslave his children, set his house on fire. He shall not bother you again.

    OS: Windows XP
    Compiler: MSVC

  4. #19
    Confused
    Join Date
    Nov 2002
    Location
    Warwick, UK
    Posts
    209
    So if I understand, FreeConsole() only hides the console, but it's still listed in the Task Manager ?
    Thanks for your replies by the way

  5. #20
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    Correct.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  6. #21
    ‡ †hë Ö†hÈr sîÐè ‡ Nor's Avatar
    Join Date
    Nov 2001
    Posts
    299
    almost correct.
    win me and up
    any version of windows with the process viewer included in the task manages can see the process. for say... win98 you have to use a process viewer. right?

    [edit]
    if you have no console/window then it will not show up the the task manager.
    Try to help all less knowledgeable than yourself, within
    the limits provided by time, complexity and tolerance.
    - Nor

  7. #22
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    I meant the process viewer by task manager. A mistake due to my German Windows.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  8. #23
    Confused
    Join Date
    Nov 2002
    Location
    Warwick, UK
    Posts
    209
    Thank you for your replies, I'm all good on that now

  9. #24
    Grammar Police HybridM's Avatar
    Join Date
    Jan 2003
    Posts
    355
    if you have no console/window then it will not show up the the task manager.
    The Task Manager is the program in which you can view Tasks as well as Processes among other things. It WILL show up in the task manager, just under processes, not tasks.
    Thor's self help tip:
    Maybe a neighbor is tossing leaf clippings on your lawn, looking at your woman, or harboring desires regarding your longboat. You enslave his children, set his house on fire. He shall not bother you again.

    OS: Windows XP
    Compiler: MSVC

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. available memory from task manager
    By George2 in forum Tech Board
    Replies: 10
    Last Post: 01-18-2008, 02:32 AM
  2. Replies: 4
    Last Post: 01-13-2008, 02:14 AM
  3. Question regarding Memory Leak
    By clegs in forum C++ Programming
    Replies: 29
    Last Post: 12-07-2007, 01:57 AM
  4. Memory problem with Borland C 3.1
    By AZ1699 in forum C Programming
    Replies: 16
    Last Post: 11-16-2007, 11:22 AM
  5. Shared Memory - shmget questions
    By hendler in forum C Programming
    Replies: 1
    Last Post: 11-29-2005, 02:15 AM