![]() |
Console Server - Printable Version +- Mirage Source (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17) +---- Thread: Console Server (/showthread.php?tid=624) |
Console Server - Xlithan - 11-01-2007 I've begun converting my server to a console server. I have a few questions for the advanced visual basic users though. 1. Will keeping the old server form and all the crap on it, but not showing it still reduce the memory used by the server, or just have the same result as before? 2. Will using a menu (As shown below) make that much difference in memory usage compared to just typing commands instead? The window is completely sizable, and the textboxes will resize automatically to whatever size the form is. ![]() - Spodi - 11-01-2007 1. It will not have to draw it, so that is very slightly less CPU usage (very, very slightly). Also, it doesn't have to store the image of it if there is one (ie an AutoRedraw image) so there is some more very slight less RAM usage. We're talking hardly noteable though, I believe. 2. More memory usage, most likely, but again, hardly anything. - grimsk8ter11 - 11-01-2007 remove the form, go real. http://vb.mvps.org/samples/project.asp?id=console that window you made accomplishes nothing really. - Spodi - 11-01-2007 Or go completely form-less. Remove all the controls, use Winsock API and Do/Loop for the system, and run it as a process and use a remote control to handle everything. teh uber 1337 8) - William - 11-01-2007 grimsk8ter11 Wrote:remove the form, go real.Thanks, I'll use that. - Xlithan - 11-01-2007 Thanks Grim. - grimsk8ter11 - 11-01-2007 No problem, I used it before, making an emulated console does nothing since the form uses the same amount of memory it always does, and the textbozes to. Use this with IOCP and remove controls entirely, they are what are what make the form so inefficient. - Xlithan - 12-01-2007 to be honest i'm just after something different. |