| View previous topic :: View next topic |
| Author |
Message |
chameleon_789
Joined: 01 Nov 2005 Posts: 9
|
Posted: Wed May 10, 2006 7:12 am Post subject: how can I run a program in the background of the OS? |
|
|
Hi guys...
I'm pretty new to programming for the PSP and in general bla bla bla I'm sure you heard it 100 times before.. I did a search on this but I couldn't find anything useful (I don't really know the right terminology).
what I want to do is modify PSP-FTPD to run as a background thread (in fact the perfect solution would be to add a choice in the program to exit but keep running in the background).. basically what I want to know is : is it possible, is it hard to pull off, will it still register keypresses, and, how do I do it :D |
|
| Back to top |
|
 |
JesusXP
Joined: 17 Jan 2006 Posts: 80 Location: Ontario, Canada
|
Posted: Thu May 11, 2006 12:45 am Post subject: |
|
|
Probably Possible, probably moderately difficult, and if its running in the background, you would have to code it to register keypresses appropriately... Your description of what you intend for it to do, is pretty vague (with respect to the purpose).
Try reading up on writing Daemon's in C/C++, that's pretty much what you want to do. Create a Daemon(LINUX), or Process (WIN)... in C, or C++... but than again, What do I know :S. |
|
| Back to top |
|
 |
pipspsp
Joined: 13 May 2006 Posts: 4
|
|
| Back to top |
|
 |
|