Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


Navigation Performance


Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 07-02-2009, 08:39 PM
Saj Saj is offline
Junior Member
 
Join Date: Dec 2007
Location: Manchester, UK
Posts: 33
Default

Cut down version of program attached. To see error, right click once, then try to drag the grey screen a couple of times with left hand mouse button.
Attached Files
File Type: zip debug.zip (125.2 KB, 12 views)
Reply With Quote
  #12 (permalink)  
Old 07-02-2009, 09:34 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 3,351
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

I don't think that you have tried optimised compiling as I suggestested because the code you posted fails.

Also End If is a construct in its own right so you don't need all the multiple "End If"s

If ... Then
...
ELse If ... Then
....
Else If ... Then
...
End If

Your mix of libraries is puzzling. If you expect this to run on the device there should be a one to one equivalent of device and desktop libraries, either the same on both desktop and device where the library will run on both or a desktop version and the equivalent device version where they need to differ.

You don't need both ImageLib and ImageLibEx libraries, use one or the other.

Running and right clicking brings up a an error "Error loading map: MapLeicester.jpg" not the error you described.

I'm sorry but I don't have time to sort this out. Please post a simplified version that you have tested that actually runs and shows the errror in question.

EDIT:- However, luckily for you, I noticed that you are initialising the DrawerEx before activating the forelayer on frmGPS. You need to activate the forelayer first or the initialisation of DrawerEx (or Drawer from ImageLib) will not find a forelayer to draw on.
__________________
Sorry, but I don't answer questions by PM or email.
Please post your queries in the forum.

Last edited by agraham : 07-02-2009 at 09:45 PM.
Reply With Quote
  #13 (permalink)  
Old 07-17-2009, 12:11 PM
Saj Saj is offline
Junior Member
 
Join Date: Dec 2007
Location: Manchester, UK
Posts: 33
Default

Can someone help me understand what the attach error means when optimised compiling for a Device exe.

Line 2151: s = s & ".Net Version: " & Hard.NetVersion & CRLF
Attached Images
File Type: jpg error - optimise complie.jpg (17.2 KB, 12 views)
Reply With Quote
  #14 (permalink)  
Old 07-17-2009, 06:52 PM
derez's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Posts: 565
Awards Showcase
Beta Tester Competition Winner 
Total Awards: 2
Default

It means that you have not defined Hard as an object of Hardware library.
__________________
David Erez
Ramat Hasharon, Israel
Reply With Quote
  #15 (permalink)  
Old 07-18-2009, 09:26 AM
Saj Saj is offline
Junior Member
 
Join Date: Dec 2007
Location: Manchester, UK
Posts: 33
Default

Don't know how i missed that one. I'm also getting the attached error with a msgbox when compiling:
Attached Images
File Type: jpg error - optimise compile2.jpg (18.7 KB, 8 views)
Reply With Quote
  #16 (permalink)  
Old 07-18-2009, 12:08 PM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Switzerland
Posts: 1,556
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

It should be:
MsgBox("ErrorA...")
you need bracket.

Best regards
__________________
Klaus
Switzerland
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
D-Pad Navigation Dave Mitchell Questions & Help Needed 4 05-02-2008 11:46 PM
Forum Navigation dennishea Questions & Help Needed 1 02-15-2008 07:52 PM
Performance vs Memory RandomCoder Questions & Help Needed 4 02-10-2008 05:03 PM
Performance on Bitmap? Roadrunner Questions & Help Needed 9 12-09-2007 03:19 PM
GPS map navigation and routing zen Questions & Help Needed 11 10-08-2007 07:44 AM


All times are GMT. The time now is 12:28 PM.


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