Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Bug Reports
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Bug Reports Post about errors or bugs encountered.


Version 6.01 Problem with SIP Features of Hardware Library


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-08-2008, 08:57 AM
Knows the basics
 
Join Date: Aug 2007
Posts: 53
Exclamation [Resolved, see last post] Version 6.01 Problem with SIP Features of Hardware Library

SIP Features do not work on the device if and only if I use an .EXE, compiled on the Desktop IDE.

If run from the device IDE, the program does just what required: When Option "Edit/Options/Keyboard Spaces" is checked, it reacts to opening and closing the SIP Keyboard by correct resizing.

If run from a compiled version which I installed using Setup Builder, the SIP is totally ignored. That means: The SIPChanged Event does not fire and when starting I get a Null Reference Exception plus and the Debug MsgBox shows a negative value, which should be a value of approx. 50 instead.

The Hardware DLL should be the newest provided with Version 6.01 of B4PPC (date is Dec 16, 2007), IDE on Desktop and Device are 6.01, .NET CF is latest version (downloaded and installed on the device yesterday)

Please see attached file for the Code, just search for "SIP" to find the relevant places. You need the components Hardware (obvious), Formlib and Treeview
Attached Files
File Type: sbp TreeEdit_1.01_HW_BUG.sbp (61.0 KB, 7 views)

Last edited by Woinowski : 01-08-2008 at 03:15 PM. Reason: Resolved
Reply With Quote
  #2 (permalink)  
Old 01-08-2008, 10:14 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,143
Default

I didn't try your code, but as you can see in the attached example the SIPChanged event is fired (the textbox changes its size).
Are you sure you have compiled to a Device executable?
Attached Files
File Type: zip TextEditor.zip (26.4 KB, 10 views)
Reply With Quote
  #3 (permalink)  
Old 01-08-2008, 11:58 AM
Knows the basics
 
Join Date: Aug 2007
Posts: 53
Default TextEditor works, but mine not

I double checked. Also, Using Hardware1.SIPHeight instead of the Control(...) way does not help.

Also Checked whether installation on Device vs Memory Card makes a difference. Result: Non. Should I attach the Sept.Exe?
Reply With Quote
  #4 (permalink)  
Old 01-08-2008, 12:09 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,143
Default

I've compiled your application and it works properly (shows 'Auto' when the SIP is changed).
Please make sure that both Hardware / HardwareDesktop that are located in the source code folder (on the desktop) are updated and make sure that you compile your application targeting Device EXE.
Reply With Quote
  #5 (permalink)  
Old 01-08-2008, 01:59 PM
Knows the basics
 
Join Date: Aug 2007
Posts: 53
Smile Solved

Thanks for your help. Solutions was to update the HardwareDesktop.dll to the latest version manually (interestingly, I had it removed via Desktop IDE and replace before, and that did not help. Why ever...)

So, what I have learnt for the future: In order to compile for the device you also need the correct Desktop library in your source code folder, although it will not needed for execution in the device. (Quit unexpexted behaviour, maybe sth for the wishlist).

Now Version 1.02 with better SIP-Behaviour an be found here:

http://www.basic4ppc.com/forum/showt...=8357#post8357
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Next version new features Erel Announcements 15 07-15-2008 05:55 PM
Hardware library - V3.41 Erel Official Updates 0 07-13-2008 04:15 PM
Hardware library - V3.4 Erel Official Updates 0 04-17-2008 04:41 PM
Hardware library - V3.3 Erel Official Updates 0 03-01-2008 05:16 PM
Hardware library was updated Erel Announcements 17 05-31-2007 08:14 AM


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


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0