![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programmer
Join Date: Jan 2006
Posts: 58
Rep Power: 3
![]() |
running in the background...
Where/what could I look for to figure out how to make a program run in the background once it's an exe?
|
|
|
|
|
|
#2 |
|
Expert Programmer
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4
![]() |
Operating system?
|
|
|
|
|
|
#3 |
|
Programming Guru
![]() Join Date: Jun 2005
Location: elemental plane
Posts: 1,429
Rep Power: 5
![]() |
We don't help with making virii.
__________________
"Employ your time in improving yourself by other men's writings, so that you shall gain easily what others have labored hard for." -- Socrates |
|
|
|
|
|
#4 |
|
Expert Programmer
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4
![]() |
Especially not people who don't know what they are talking about.
|
|
|
|
|
|
#5 |
|
Programmer
Join Date: Jan 2006
Posts: 58
Rep Power: 3
![]() |
It would be for Windows.
I take it as an insult that you assume that I'm making a virus. I'm assigned to search and figure out for myself (AKA not your code, not your hardwork) something attribute specific in regards to a program. I choose the ability to hide itself, obviously. And yes, I don't know what I'm talking about hence me asking a question. I have no lead as to what it would take or the topic names that encompass my question. I want to read and figure it out myself. Is it honestly that hard to simply say "look up _________" or "maybe read more about _____?" Thanks for your help, it's highly appreciated. |
|
|
|
|
|
#6 | |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Quote:
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
|
#7 |
|
Programmer
Join Date: Jan 2006
Posts: 58
Rep Power: 3
![]() |
It's actually an assignment for school. "Pick a topic that is attribute specific to a program, it can be anything, be creative"... write a paper and what not. I don't want code, I just want to know how it works. I don't have malicious intent, I don't have the knowledge to be malicious. That's why I asked more or less for the direction in which I need to go.
|
|
|
|
|
|
#8 |
|
Programming Guru
![]() Join Date: Jun 2005
Location: elemental plane
Posts: 1,429
Rep Power: 5
![]() |
Hmm, well okay... It depends on how you want to do it. You can register as a service, or you can hide your window. Come to think of it, don't even make a window.
__________________
"Employ your time in improving yourself by other men's writings, so that you shall gain easily what others have labored hard for." -- Socrates |
|
|
|
|
|
#9 |
|
Expert Programmer
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4
![]() |
In other words, create a Win32 application, using this for your main function:
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) {
// blahdieblah
}instead of the regular main() function. |
|
|
|
|
|
#10 |
|
Programmer
Join Date: Jan 2006
Posts: 58
Rep Power: 3
![]() |
Excellent. Thanks for that then.
Services it is. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|