Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Share Your Creations
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Share Your Creations Show your developed application to Basic4ppc community. Please include source code if possible.

Beta Demo Ini file Editor...

Reply
 
LinkBack Thread Tools Display Modes
  #31 (permalink)  
Old 09-01-2008, 06:35 PM
specci48's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Germany
Posts: 1,057
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default First Bug report...

Hi Cableguy,

I haven't really started to test you ini-editor yet but I came across this funny behaviour on the optimized executible (INI4PPC-opti.exe):
If I change to the german language I have to click the OK button on the about panel for 4 times to close it. If I change to the english language I have to click the OK button for 2 times. After changing to the french language I have to click 16 times. Changing to the italian language I'll have to click 8 times. Have you tried to program 2^n or something like that..

And if I change the language for a few times without closing the application, the app gets very very slow... until I only could exit the program with a soft reset.

The executible without optimization (INI4PPC.exe) works as expected!


A still testing
specci48
Reply With Quote
  #32 (permalink)  
Old 09-01-2008, 06:41 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,344
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

That is<why I compiled it in both optimized and not optimized...
The NOT optimized exe, although a lot bigger in size, is much faster AND RELIABLE.I have noticed this behavior with others basic4ppc opti-compiled apps...
The code is exactly the same, just recomplied in two ways...
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)

My Posts helped you? Consider Buying me a Porto Glass!
Reply With Quote
  #33 (permalink)  
Old 09-02-2008, 08:59 AM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by Cableguy View Post
The code is exactly the same, just recomplied in two ways...
This looks like a serious problem. The behaviour of the optimised compiled app is appalling! Part of the problem may be that you are calling AddEvent in your Sub SetControls which is called both in AppStart and in SetLanguage which is itself called in AppStart. You are therefore overloading all the events twice and when you change language LanguageSelect calls it again.

This is one important one difference between the legacy and optimised environments. The optimised environment "stacks up" events added by AddEvent and calls them all whereas the legacy environment doesn't. I have discussed changing this behaviour with Erel in another thread.

I am not sure that this entirely explains the bad behaviour. If it doesn't would you be prepared to let me have the source code so I can look at this?
Reply With Quote
  #34 (permalink)  
Old 09-02-2008, 10:33 AM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,344
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

I will release the source code when asked, but only when the app is fully developed...wich will be in a few weeks, due to some time contrains...
But, yes, you are right Andrew, the addevens is called on the setcontrols and on the language selection...
I will try to see is I can avoid this recursion...
Thank's for pointing it out...
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)

My Posts helped you? Consider Buying me a Porto Glass!

Last edited by Cableguy : 09-02-2008 at 11:38 AM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Beta Testers medal Erel Forum Discussion 10 10-19-2008 12:52 PM
Beta versions Erel Beta Versions 0 08-26-2008 09:32 PM
request for squeeling counter demo! colin9876 Questions (Windows Mobile) 25 05-21-2008 10:25 PM
Basic4ppc V6.00 - Beta is released Erel Announcements 0 12-16-2007 05:55 PM
Ticker Demo alfcen Share Your Creations 2 10-05-2007 12:46 PM


All times are GMT. The time now is 11:59 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0