Programs within one program--How feasible is it?
i have games developing run within single program tabpages within master tabcontrol. games not next-generation type, not use 3-d graphics function custom windows controls (for example, datagridviews). wondering how feasible in terms of performance. 1 such game may require some higher degree of memory storage hold information many class instances, , i'm worried crash in game may result in crash in whole program.
(i chose embody games within single program in order (1) ease transfer of data between them , (2) have them common gui , simplify things.)
edit: forgot mention based in windows forms.
hi brad
i liked idea , thought process. lets see if post of use you.
i understand each game be embedded in tab page (of master tab control) , u said in win forms.
1. of now, dont worry memory crunches, assume users have (atleast 4 gigs of ram). start working , optimize memory
when u see crunch.
2. if want avoid crashing of entire app coz of 1 game crash should implement chrome way :)
in google chrome, every tab page separate process. if 1 tab page /web page crashes killed.
try reading application domains , assembly. each game can assembly loaded main app. if 1 game (assembly crashes) others work.
.net maniac -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Visual Studio Languages , .NET Framework > Visual C#
Comments
Post a Comment