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

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

Questions (Windows Mobile) Post any question regarding Basic4ppc.

Error at line 0?

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-18-2007, 04:34 AM
Junior Member
 
Join Date: Oct 2007
Posts: 25
Default Error at line 0?

I'm trying to run RandomCoder's icon editor on my Dell Axim X3 and I'm getting the following error

Quote:
An error occurred on sub app_start.

Line number: 0

Error description:
Exception
Continue?

(Yes/No)
If I hit yes to continue the program ends silently.

I can run this program fine on my desktop but it doesn't work at all on my pocket pc. Does anyone else have this problem?
Reply With Quote
  #2 (permalink)  
Old 10-18-2007, 06:14 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

I don't know what is the problem with the specific application.
There is a bug that causes compiled applications to always show line number 0 as the error line.
It will be fixed in the next version.
Reply With Quote
  #3 (permalink)  
Old 10-18-2007, 01:44 PM
RandomCoder's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Derbyshire, UK
Posts: 623
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Erel, the application wasn't compiled (unless Mistrel compiled it).
I didn't experience any problems with it on my device, I'm using an Axim X51v with WM5.

Mistrel
Hope you get it working and have more success than I did at finishing the project. My next objective was to try and get an icon to load into the editor and if I managed that I was going to try and save the created icon back to a file.
I'm pretty sure there must have been an easier way of approaching the problem, maybe I just made it too difficult for myself?

Have fun with it anyway and feel free to modify it to your own needs.

Regards,
RandomCoder.
__________________
"Defeat never comes to any man until he admits it."Josephus Daniels
Reply With Quote
  #4 (permalink)  
Old 10-20-2007, 02:50 AM
Junior Member
 
Join Date: Apr 2007
Location: Kerikeri, New Zealand
Posts: 43
Send a message via MSN to HarleyM
Unhappy I'm getting the same error with my program...

Originally written in ver 4, converted to ver 5, runs fine on the desktop but has the same error as Mistrel. the only thing I can think of is that I recently upgraded the rom on my Jasjam to WM6 (schapps 3.60a cooked rom). This is the first time I've had a problem running software on it. Everything else has been given a new lease on life, running faster & without problems that I had originally with the original Rom.
Reply With Quote
  #5 (permalink)  
Old 10-20-2007, 03:02 AM
Junior Member
 
Join Date: Apr 2007
Location: Kerikeri, New Zealand
Posts: 43
Send a message via MSN to HarleyM
Default Something else to consider...

having failed to run the compiled app on my device, I copied across the source & attempted to run that on the devices programming environment. This time I got the error :
Error loading external library :
An error message cannot be displayed because an optional resource assembley containing it cannot be found.

I'm suspicious that one (or more) of the libraries used by my program is not working with MW6.
These are :
treeview.dll
Hardware.dll
RegistryDevice.dll
FormLib.dll

I'll have to see whether these may have been upgraded since the 5.5 release
Reply With Quote
  #6 (permalink)  
Old 10-20-2007, 06:49 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

To avoid the "optional resource assembly..." message you should install the file attached to this thread: http://www.basic4ppc.com/forum/questions-windows-mobile/870-error-messages-device.html
It will not fix the problem, but it will show you a more descriptive error message.
Reply With Quote
  #7 (permalink)  
Old 10-20-2007, 08:06 AM
Junior Member
 
Join Date: Apr 2007
Location: Kerikeri, New Zealand
Posts: 43
Send a message via MSN to HarleyM
Default Sorry Erel...

System_SR_ENU_wm.cab made no difference to the error messages received either by running my desktop compiled program (errror at line 0) or through running within the device's developer(optional resource asembly not found).
Reply With Quote
  #8 (permalink)  
Old 10-20-2007, 04:46 PM
taximania's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Derbyshire. UK
Posts: 592
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Quote:
Originally Posted by Erel View Post
To avoid the "optional resource assembly..." message you should install the file attached to this thread: http://www.basic4ppc.com/forum/showthread.php?t=870
It will not fix the problem, but it will show you a more descriptive error message.
I tried to install that cab and got a

'Setup Failed'
System_SR_ENU_wm.cab is not a valid Window CE Setup file.
__________________
.
.
.
Don't ask, I'm fine, honest. !!
.
.
.
Just a little crazy at times



O2 XDA, GW Evo 2.1 UC WWE Rom, WM6.1
Radio Ver 03.34.90
With Basic4ppc V6.80


http://www.taximania.co.uk
Reply With Quote
  #9 (permalink)  
Old 11-03-2007, 09:33 PM
Junior Member
 
Join Date: Apr 2007
Location: Kerikeri, New Zealand
Posts: 43
Send a message via MSN to HarleyM
Default Finally got around to trying it all again...

This time I did get a few more clues. My program has a problem with treeview.dll which I now suspect must have been dropped in the latest versions of basic4PPC as I haven't got the library files anymore following the 5.8 upgrade. Can someone let me know what has happened/possible fix. I'm obviously not up with the play.

Cheers.

Ok figured out what I needed was another library for external libraries. Where would I be without this forum & it's ability to search right back... Thanks Erel for a great program & support

Last edited by HarleyM : 11-03-2007 at 10:02 PM.
Reply With Quote
  #10 (permalink)  
Old 11-04-2007, 07:40 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Just to make it clear, all the controls libraries were merged to one library named ControlsEx library.
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
FileWrite at certain line..? TWELVE Questions (Windows Mobile) 3 08-31-2010 10:07 AM
Different Line Types ceaser Code Samples & Tips 4 08-20-2008 01:39 PM
How to draw a line on a panel? yildi Questions (Windows Mobile) 6 02-29-2008 03:05 PM
How to draw a line? RandomCoder Questions (Windows Mobile) 3 08-24-2007 09:11 PM
drawer with thick line hung Basic4ppc Wishlist 2 07-19-2007 01:38 PM


All times are GMT. The time now is 01:13 AM.


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