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.


Error at line 0?


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-18-2007, 05: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, 07:14 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,134
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, 02:44 PM
RandomCoder's Avatar
Basic4ppc Veteran
 
Join Date: May 2007
Location: UK
Posts: 485
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.
__________________
Desktop: Pentium D 920 (2.8GHz, 4MB L2 Cache, 800MHz FSB), 1024MB, 256MB Radeon X600, 250GB HD.
Device : Axim X51v XScale 624MHz, 3.7" VGA, 64MB SDRAM, 256MB Flash ROM + 1Gb SD.

"Defeat never comes to any man until he admits it."Josephus Daniels
Reply With Quote
  #4 (permalink)  
Old 10-20-2007, 03:50 AM
Junior Member
 
Join Date: Apr 2007
Location: Kerikeri, New Zealand
Posts: 21
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, 04:02 AM
Junior Member
 
Join Date: Apr 2007
Location: Kerikeri, New Zealand
Posts: 21
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, 07:49 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,134
Default

To avoid the "optional resource assembly..." message you should install the file attached to this thread: error messages on device
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, 09:06 AM
Junior Member
 
Join Date: Apr 2007
Location: Kerikeri, New Zealand
Posts: 21
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, 05:46 PM
taximania's Avatar
Basic4ppc Veteran
 
Join Date: May 2007
Location: Derbyshire. UK
Posts: 231
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: error messages on device
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.
__________________
Endemol
Waste of space

O2 XDA Artemis Touch Flo 4.02 Full Cube Rom WM6.1

http://www.taximania.net
Reply With Quote
  #9 (permalink)  
Old 11-03-2007, 10:33 PM
Junior Member
 
Join Date: Apr 2007
Location: Kerikeri, New Zealand
Posts: 21
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 11:02 PM.
Reply With Quote
  #10 (permalink)  
Old 11-04-2007, 08:40 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,134
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Different Line Types ceaser Code Samples & Tips 4 08-20-2008 02:39 PM
FileWrite at certain line..? TWELVE Questions & Help Needed 2 05-13-2008 06:29 AM
How to draw a line on a panel? yildi Questions & Help Needed 6 02-29-2008 04:05 PM
How to draw a line? RandomCoder Questions & Help Needed 3 08-24-2007 10:11 PM
drawer with thick line hung Basic4ppc Wishlist 2 07-19-2007 02:38 PM


All times are GMT. The time now is 03:49 AM.


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