Does the project files work on the device ide?
Are you sure you are using the correct device dll's? just before compilation, try to remove the desktop version of the dlls, just to be safe....
Are ALL those global var really needed or need to be globals?
My device specs are almost the same as the IPaq, so if you provide the missing images, I can have a run at it, and feedback to you...
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France-Saumur
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate) B4PPC DLL Version Listing - B4Android DLL Version Listing
For each form Basic4ppc creates a bitmap in the same size of the form.
This bitmap is used for all the custom drawings (graphics are double buffered).
Your application includes many large forms and this is most probably the problem.
As far as I see you are not using any graphics feature in your application.
Please download the attached file, unzip it and copy CEnhancedForm.cs to C:\Program Files\Anywhere Software\Basic4ppc Desktop\Tzor
First rename the existing CEnhancedForm.cs file to a different file as a backup.
Now when you'll compile your application (optimized compiler only) those bitmaps will not be created and the memory footprint will be much smaller.
It didn't run on the device IDE, same message was shown. I downloaded the CEnhancedForm.cs and did as per the suggestion, it works now. The resolution on the desktop was in compliance with the HPiPAQ214 but on the device the screens appear with distorted form. What could be the probable problem ?
On the device all controls are squeezed and shown in small size at the left upper corner of the device screen. what we noticed, when we change the screen size in design mode to 640 X 480 the relation between control size and font size is lost ! for example : on the desktop the word "kamlapur" shown in a label with fontsize=15 and width=95, but on the device we need width=260 to show the same word in fontsize=15.
One other observation, changing fontsize only changes the text of the radiobutton, not the circle itself and endup with larger radiobutton than desired.
Another observation, the application on the device IDE runs OK with controls having proper size and appearance the problem is with the compiled EXE. I attached the calendar snapshot from the device EXE.
regards,
Last edited by mozaharul : 10-07-2008 at 11:03 AM.