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.

ControlExDesktop compilation error

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-06-2009, 05:13 AM
derez's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Posts: 978
Awards Showcase
Beta Tester Competition Winner 
Total Awards: 2
Default ControlExDesktop compilation error

Hi
I'm using ControlExDesktop and ControlExDevice in a program, with a monthcaledar object.
The program runs on the desktop IDE and the device IDE , compiles for the desktop but does not agree to compile for the device.

I have both dll and cs files in the b4ppc library and the working directory, the desktopp has .net 2.0

Using the toolstrip I see that the desktop dll version is 1.4, but I use the zip file with version 1.6

I get the attached error.

Can someone tell me what is missing ?

thanks
__________________
David Erez
Ramat Hasharon, Israel
Reply With Quote
  #2 (permalink)  
Old 04-06-2009, 08:26 AM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

You can't use ControlsExDesktop and ControlsExDevice together in one project as they are not compatible with each other. A ControlsExDeviceDummy library is provided for desktop use with ControlsExDevice although "Dummy" is a bad term as, apart from the Notification object which can't be implemented on the desktop, it is fully functional.

A device project needs ControlsExDevice for the device and ControlsExDeviceDummy for the desktop. This will compile for both device and desktop.

A desktop project needs nothing for the device and ControlsExDesktop for the desktop. This will only compile for the desktop.
Reply With Quote
  #3 (permalink)  
Old 04-06-2009, 09:45 AM
derez's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Posts: 978
Awards Showcase
Beta Tester Competition Winner 
Total Awards: 2
Default

Thanks for the clear answer Andrew.

Where can I find the dummies ? they are not included in the dll lists.
__________________
David Erez
Ramat Hasharon, Israel
Reply With Quote
  #4 (permalink)  
Old 04-06-2009, 11:09 AM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by derez View Post
Where can I find the dummies ?
I assume that you mean "dummmy" singular. There is no device dummy for ControlsExDesktop as it isn't necessary. ControlsExDeviceDummy, and it's source code, is in the http://www.basic4ppc.com/forum/addit...html#post10811 archive.

There are two reasons a compatible desktop "dummy" library is required for a device targeted library. Firstly it means that code can be developed and run in the IDE on the desktop even if the library is not fully functional. Secondly the optimising compiler assumes that the desktop and device libraries are identical in structure and uses the desktop library during compilation, even when the compiling is targeting the device. In the rare case where there might not be a compatible desktop library for a library that will only work on the device that library can be added as a desktop component. It will not let code run on the desktop but will let the optimising compiler successfully compile for the device.
Reply With Quote
  #5 (permalink)  
Old 04-06-2009, 03:28 PM
derez's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Posts: 978
Awards Showcase
Beta Tester Competition Winner 
Total Awards: 2
Default

Thanks, it works now
__________________
David Erez
Ramat Hasharon, Israel
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
error compilation in smscontrol mircome Share Your Creations 1 01-01-2009 04:13 PM
Error with Optimized Compilation and SQLite berndgoedecke Questions (Windows Mobile) 1 09-07-2008 06:20 PM
Error during compilation mozaharul Questions (Windows Mobile) 2 06-10-2008 02:50 AM
cTicksPerDay: optimised compilation error with timer LineCutter Bug Reports 2 04-21-2008 06:15 PM
6.01 Optimized compilation error dpriem Bug Reports 2 01-06-2008 03:42 PM


All times are GMT. The time now is 04:11 AM.


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