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.

Compiler error CS1519

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-13-2008, 03:07 PM
Knows the basics
 
Join Date: Mar 2008
Location: germany, Heidelberg
Posts: 90
Default Compiler error CS1519

Hi,

i have build a Program and it run on both, device and desktop.
After including Filippos listview.dll the Program run in the IDE whithout an error, but when I make an exefile for the Device i get an error CS1519 (Invalid token 'token' in class, struct, or interface member declaration).

When i compile the Program without optimized compilation i get the error yad.exe or mahshev.exe is missing.

What do i wrong?

Last edited by mamuen : 07-13-2008 at 03:12 PM.
Reply With Quote
  #2 (permalink)  
Old 07-13-2008, 03:20 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,733
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Are you using the latest version of this dll?
Reply With Quote
  #3 (permalink)  
Old 07-13-2008, 03:40 PM
Knows the basics
 
Join Date: Mar 2008
Location: germany, Heidelberg
Posts: 90
Default

Yes, version 1.0.6.0
Reply With Quote
  #4 (permalink)  
Old 07-13-2008, 06:07 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,733
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Can you upload your program?
Reply With Quote
  #5 (permalink)  
Old 07-13-2008, 06:16 PM
Knows the basics
 
Join Date: Mar 2008
Location: germany, Heidelberg
Posts: 90
Default

Here it is.

Attachment 1862
Reply With Quote
  #6 (permalink)  
Old 07-13-2008, 07:20 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,733
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

There is a compatibility problem with this library.
You will need be able to use any objects from this library other than ListView.

It is not possible to use inner classes directly from Basic4ppc.
ColumnType and the other types are inner classes.
Reply With Quote
  #7 (permalink)  
Old 07-13-2008, 08:04 PM
Filippo's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Schwäb. Gmünd, Germany
Posts: 977
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Hello mamuen,

Here is the corrected version.


Ciao,
Filippo
__________________
PPC: MDA Pro, 2GB SD
Device: HTC Desire , Android 2.2
______________________
Reply With Quote
  #8 (permalink)  
Old 07-13-2008, 08:43 PM
Knows the basics
 
Join Date: Mar 2008
Location: germany, Heidelberg
Posts: 90
Default

Hello Earl,

Thx for your fast help!


Hallo Filippo,

danke für Deine Mühe, kannst Du mir meinen Fehler näher erklären irgent wie blicke ich da nicht durch. Wir können uns ja im deutschen Forum treffen.
Reply With Quote
  #9 (permalink)  
Old 07-13-2008, 09:28 PM
Knows the basics
 
Join Date: Mar 2008
Location: germany, Heidelberg
Posts: 90
Default

Hi Earl,

can you explain this a little bit exacting.

Quote:
Originally Posted by Erel View Post
There is a compatibility problem with this library.
You will need be able to use any objects from this library other than ListView.

It is not possible to use inner classes directly from Basic4ppc.
ColumnType and the other types are inner classes.
Reply With Quote
  #10 (permalink)  
Old 07-14-2008, 04:41 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,733
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Libraries are written with C# or VB.Net.
These two languages support nested classes which means that a class can contain other classes.
Basic4ppc doesn't support inner classes only regular classes.
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
Optimizing Compiler Error? Louis Questions (Windows Mobile) 9 02-23-2009 07:09 PM
Compiler Directives Louis Basic4ppc Wishlist 4 09-28-2008 10:54 PM
Compiler error CS1519 Filippo German Forum 3 07-16-2008 08:06 PM
External compiler error prinsen Questions (Windows Mobile) 3 03-19-2008 07:54 PM
Problem with Optimized Compiler mikemputer Questions (Windows Mobile) 3 01-26-2008 02:00 PM


All times are GMT. The time now is 07:28 AM.


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