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.


Compile forced QVGA crashes B4PPC


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-14-2008, 09:41 PM
willisgt's Avatar
Senior Member
 
Join Date: Aug 2007
Location: Nacogdoches, Texas USA
Posts: 154
Default Compile forced QVGA crashes B4PPC

I've tried to compile with the new force QVGA option, but B4PPC crashes with this error:

'Attempt to read or write protected memory.' (plus something else that I forgot; my apologies, I didn't write it down and the phone rang.)

I've tried several times to reproduce the error, but I only get the 'Basic4PPC has encountered an error an needs to close' notice.

Anyone else encountered this?


Gary
__________________
PC: Windows XP Pro SP2 / Basic4PPC v6.3
PPC: HTC 8925 (AT&T Tilt) / Windows Mobile 6
Reply With Quote
  #2 (permalink)  
Old 05-15-2008, 12:02 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,382
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

Seems to compile OK for me although I don't have a VGA device to try the exe on. Is it with a particular set of code or does compiling any code, or an empty app, cause it?
Reply With Quote
  #3 (permalink)  
Old 05-19-2008, 03:03 PM
willisgt's Avatar
Senior Member
 
Join Date: Aug 2007
Location: Nacogdoches, Texas USA
Posts: 154
Default

The crash happens with a 60-line app (with no components), and a 20,000-line app. Compiling an empty app works ok.

The 60-line program - I commented out every line, tried to compile, and it still crashes. I can probably post that one; it's not practical (or possible) for me to post the larger program.

Gary
__________________
PC: Windows XP Pro SP2 / Basic4PPC v6.3
PPC: HTC 8925 (AT&T Tilt) / Windows Mobile 6
Reply With Quote
  #4 (permalink)  
Old 05-19-2008, 03:11 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,382
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

Post the 60 liner - I'll try it here.
Reply With Quote
  #5 (permalink)  
Old 05-19-2008, 03:13 PM
willisgt's Avatar
Senior Member
 
Join Date: Aug 2007
Location: Nacogdoches, Texas USA
Posts: 154
Default

One 60-line program attached.

Gary


EDIT: I should have mentioned that I removed two controls from Form1, thinking that those might be the problem. It's a label and an arrayList, if I remember correctly.
Attached Files
File Type: sbp Copy of mjsOneUpdate.sbp (1.6 KB, 5 views)
__________________
PC: Windows XP Pro SP2 / Basic4PPC v6.3
PPC: HTC 8925 (AT&T Tilt) / Windows Mobile 6

Last edited by willisgt : 05-19-2008 at 03:33 PM.
Reply With Quote
  #6 (permalink)  
Old 05-19-2008, 03:48 PM
willisgt's Avatar
Senior Member
 
Join Date: Aug 2007
Location: Nacogdoches, Texas USA
Posts: 154
Default

Hmmm. So that leaves the question: what's different on my end that causes the crash?

(Just making sure - you did try to compile it in forced QVGA mode, yes?)

Thanks for taking the time to check this out.


Gary
__________________
PC: Windows XP Pro SP2 / Basic4PPC v6.3
PPC: HTC 8925 (AT&T Tilt) / Windows Mobile 6
Reply With Quote
  #7 (permalink)  
Old 05-19-2008, 03:54 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,382
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

Quote:
Originally Posted by willisgt View Post
Just making sure - you did try to compile it in forced QVGA mode, yes
Not the first time I was too quick and just checked it on the desktop. However it DOES compile fine in ForceQVGA mode.
Reply With Quote
  #8 (permalink)  
Old 05-19-2008, 04:04 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,382
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

Quote:
Originally Posted by willisgt View Post
I only get the 'Basic4PPC has encountered an error an needs to close' notice.
Are you running Vista? If so is B4PPC running as an Administrator? If not then might be worth a try as a clutching at straws sort of thing.
Reply With Quote
  #9 (permalink)  
Old 05-19-2008, 04:08 PM
willisgt's Avatar
Senior Member
 
Join Date: Aug 2007
Location: Nacogdoches, Texas USA
Posts: 154
Default

Nope. XP Pro / SP2.
__________________
PC: Windows XP Pro SP2 / Basic4PPC v6.3
PPC: HTC 8925 (AT&T Tilt) / Windows Mobile 6
Reply With Quote
  #10 (permalink)  
Old 05-19-2008, 04:16 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,382
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

I'm running Vista on my main machine so I just tried it on my XP Home SP2 laptop. Commented and uncommented, force QVGA compiles no problems.
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
Compiling issue in forced QVGA mode kolbe Bug Reports 3 05-30-2008 02:15 PM
VGA and QVGA alfcen Basic4ppc Wishlist 4 02-05-2008 06:37 PM
Redirection from desktop to B4PPC on compile taximania Chit Chat 4 02-04-2008 07:05 PM
b4ppc crashes on opening serialport (cfserialclass.dll) sloopa Questions & Help Needed 1 06-12-2007 08:26 AM


All times are GMT. The time now is 07:27 PM.


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