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.

SIP Exception

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-05-2007, 01:52 PM
Newbie
 
Join Date: Jul 2007
Posts: 9
Default SIP Exception

First, I'm really enjoying Basic4ppc - figured it would be useful for prototyping and now it looks much better than that.

I'm trying to create a fullscreen application, with two or more forms. But since there are TextBoxes that need user input, I still need to make the SIP appear. This testcase shows the Exception I'm getting on the device (not on the Desktop) and this is the complete error message:

SIP(False) Error description: Exception

The error appears when running the .sbp on the device, I'm not sure if the exe would do the same as I'm on the evaluation period.
Attached Files
File Type: sbp SIPTest.sbp (542 Bytes, 17 views)

Last edited by davidmw : 07-05-2007 at 01:55 PM.
Reply With Quote
  #2 (permalink)  
Old 07-05-2007, 02:00 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,714
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Works fine here.
Does it happen if you just write SIP(false) not in the LostFocus event (try to put it under Sub App_Start)
Reply With Quote
  #3 (permalink)  
Old 07-05-2007, 02:45 PM
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

Buy it David - its a fun toy! (sorry Erel - don't mean to belittle it).

However you will not be glad to hear that I also cannot reproduce that error running your .spb on the device. I put another textbox on your form and added SIP(true) to its' lost focus event and as I click between them the SIP comes and goes fine. I also added a button to close the form after I rebooted my device - An Axim X30.
Reply With Quote
  #4 (permalink)  
Old 07-05-2007, 02:48 PM
Newbie
 
Join Date: Jul 2007
Posts: 9
Default Yes, still happens

Yes this exception still happens if SIP(false) is under Sub App_Start.

Actually I should mention that the exception is generated on both SIP(true) and SIP(false).

If the app is not fullscreen, no problems.

Device: HP Ipaq 2215 running PPC2003. The About screen shows this as PPC Version 4.20.0 Build 14053
Reply With Quote
  #5 (permalink)  
Old 07-05-2007, 03:05 PM
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

My Axim is running Windows Mobile 2003 Second Edition Version 4.21.1088 (Build 14260.2.0.2) so it's a bit later than yours. I've also configured B4PPC to run under .NET 2.0 ,which I have loaded on this device, so our environments may differ somewhat. Do you know which version of the Compact Framework you have?

Looking inside Erel's code for SIP it is a direct call to the Microsoft.WindowsCE.Forms.InputPanel.set_Enabled() method so the problem is unlikely to be with B4PPC so my guess is that it is more likely to be a device problem with full screen mode rather than a B4PPC problem.
Reply With Quote
  #6 (permalink)  
Old 07-05-2007, 03:41 PM
Newbie
 
Join Date: Jul 2007
Posts: 9
Default

Thanks agraham. It is interesting that your Axim is okay with the code.

I've not updated Compact Framework on this Ipaq and it has no software on it - it was hard reset yesterday.

Maybe I should mention that the error msgbox has 'Basic4ppc' in the titlebar. Just commenting out the fmlib.FullScreen(true) line prevents the error. It doesn't matter if the TitleBar is shown or not.

I found the updated formlib on the site here and added that to my install and PDA. It didn't help even after a PDA reset.
Reply With Quote
  #7 (permalink)  
Old 07-05-2007, 04:12 PM
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 davidmw View Post
Maybe I should mention that the error msgbox has 'Basic4ppc' in the titlebar
It will as that is the application that called the method that threw the exception.
Quote:
Just commenting out the fmlib.FullScreen(true) line prevents the error. It doesn't matter if the TitleBar is shown or not.
Confirms it is a full screen related problem.
Quote:
It didn't help even after a PDA reset.
It wouldn't if it is a real reproducible bug which it apparently is.

I can't quickly establish the version of the Framework that shipped with Mobile 2003 but I am sure it predates Service Pack3. I'd try this next

http://www.microsoft.com/downloads/d...displaylang=en
Reply With Quote
  #8 (permalink)  
Old 07-05-2007, 04:25 PM
Newbie
 
Join Date: Jul 2007
Posts: 9
Default

Excellent - Compact Framework 1.0 SP3 did the trick. The installer was already on my machine but it has been a couple of years since I've used this Ipaq for anything so it was long forgotten.


Many thanks for the help!
Reply With Quote
  #9 (permalink)  
Old 07-05-2007, 04:32 PM
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

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
Format Exception Error Zenerdiode Questions (Windows Mobile) 3 08-20-2009 09:28 AM
Door Library Null Reference Exception sahoopes Bug Reports 1 07-15-2008 04:46 AM
Out of Memory Exception Error on Load willisgt Questions (Windows Mobile) 9 03-01-2008 11:18 AM
format exception dennishea Questions (Windows Mobile) 2 12-23-2007 07:36 AM
Exception Handling Astragali Questions (Windows Mobile) 2 05-23-2007 12:44 AM


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


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