Wednesday, September 2, 2009
Emulator and exe files
One thing that I discovered while developing the Visual Studio mobile applications is that the emulator runs distinctly different from the .exe files. One perfect example is when doing the checks for the screen size. When you are using the Pocket PC or any of the Other Smart Device emulators, the screen works perfectly. Moreover, when you try to specify a grid size that is too big for the screen, you will get an error message alerting you that you cannot use that grid size and to select a smaller grid. I added this "screen integrity" check into the program to accommodate for different sized screens. In contrast, the exe program that is produced from the debug process does not link explicitly to any emulators and uses the .net platform to display a basic window. It does not do a screen check at all, and it will allow you to specify a grid that is much larger than the original. In this case, I just had to limit the amount of rows and columns within the GUI itself to prevent someone for specifying a huge amount of rows and columns.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment