|
From: Don H. <dh...@ho...> - 2003-04-04 21:50:16
|
>Oops, I just checked a new ldlite.cpp and ldlitecommandlineinfo.cpp >into CVS. It creates and draws in an offscreen buffer in >InitInstance() when the commandline contains a -MS (capital S). >The best I could do was hide the unused window so you may not >want much of this. Take a peek at the diffs and see if there's >anything worth keeping in there. I think I only changed the code >in 3 places. Since init_zimage() already creates an offscreen bitmap I took the extra bitmap creation code out of InitInstance() and it works the same. Uses quite a bit less memory too. Now if only there were a way to get rid of that window... According to this, there are other folks out there with the same idea. http://www.experts-exchange.com/Programming/Programming_Platforms/Win_Prog/Q_10036742.html _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail |