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

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

Bug Reports Post about errors or bugs encountered.

cTicksPerDay: optimised compilation error with timer

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-20-2008, 11:14 PM
LineCutter's Avatar
Senior Member
 
Join Date: May 2007
Location: Daarsit
Posts: 161
Awards Showcase
Beta Tester 
Total Awards: 1
Default cTicksPerDay: optimised compilation error with timer

I have no problem compiling without optimisation, but can't see a way to change the setting on the external compiler. It seems that 24*cTicksPerHour does the same thing too.
The problem seems linked to the use with a timer, although I can't see an explicit limit on the number of ms to a tick. (Just putting cTicksPerDay in a program works fine)
Attached Images
File Type: jpg Error.jpg (8.1 KB, 12 views)
Reply With Quote
  #2 (permalink)  
Old 04-21-2008, 05:58 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,704
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

cTicksPerDay = 864000000000
You are trying to set the interval property of the timer to 864000000000 milliseconds which equals to 100000 days.
This number is to large (and not meaningful anyway) for the interval property.
Reply With Quote
  #3 (permalink)  
Old 04-21-2008, 06:15 PM
LineCutter's Avatar
Senior Member
 
Join Date: May 2007
Location: Daarsit
Posts: 161
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Quote:
Gets or sets the interval time (in milliseconds) between Timer ticks.
Syntax:Interval
Example: Timer1.Interval = 1000 ' Timer will tick every second
I want the timer to tick once per day... ah, hang on, elsewhere in the help: "Each tick is 1/10,000,000 of a second".

I'd got my ticks confused with my ticks
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
Error with Optimized Compilation and SQLite berndgoedecke Questions (Windows Mobile) 1 09-07-2008 06:20 PM
Event difference between IDE and optimised agraham Beta Versions 5 08-30-2008 01:43 PM
Error during compilation mozaharul Questions (Windows Mobile) 2 06-10-2008 02:50 AM
out-of-memory-error based on timer after switching to V6 Frank Questions (Windows Mobile) 2 01-17-2008 03:26 PM
6.01 Optimized compilation error dpriem Bug Reports 2 01-06-2008 03:42 PM


All times are GMT. The time now is 03:19 PM.


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