Preference:
-C only (no C++)
-I don't want to use library that require the user to download a specific dll... i mean, i want to use only the library that come by default with windows. I think opengl don't require any download, and come by default, can someone confirm that?
-Please, can you also post an exemple? Not a whole source, but only 3-4 line to show how it work.
Actually, im looking for some C tutorial, the one at http://www.cprogramming.com/ is... not so useful.
Actually, im learning socket, very interesting(at http://www.cprogramming.com/, they only show how to use variable, pointer, write file... but nothing more)
After reading it, i got an idea, but not really about socket, but the idea come from that...
If a server can have his server application in background, why i don't do the same thing with my program?
The same day, i was also searching to learn more about creating multithreading application. (if you get a good tutorial that don't require me to download some library..., feel free to share, almost every time, the tutorial use pthread or something like that... i don't want to use that)
I read somewhere a way to actually hide the console, by making a new thread, then killing the parent thread (the main)... like the idea... but... you will see why i hesitate soon.
After reflexion, i know exactly what i want to do, just a program, that when we execute, no console, but we can make the console appear: A background program that we could call the console. for exemple, if my program act like a server, i could want to call the console, enter a specific command, like a restart or just ban an ip, then just write HIDE, to hide the console again.
To call it, i want to
A: create a service(still dont know how) that when we make it execute it make the console appear, and when we stop it, the console close, or if we type HIDE in the console, the service stop, and the console hide
B: Just creating an icon, next to where time is show... you know... in the blue bar, left corner... When we click on it, the window appear, then we type HIDE to hide it...
C: making another program that could the process of my background program.
Either option, i need a way to hide the console, then be able to call it back. My favorite option would be B, but i would still also want to learn how to create service or how to make a program controlling another process... for further use.


