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.

.net libraries

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-26-2009, 06:18 AM
Newbie
 
Join Date: Dec 2009
Posts: 4
Default .net libraries

Is there a way to use .net libraries in my programs??
Reply With Quote
  #2 (permalink)  
Old 12-26-2009, 09:02 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

To answer that properly needs a bit more detail about the reason for the question. The short answer is that Basic4ppc libraries are .NET libraries (technically they are .NET Assemblies) so yes, but I suspect that is not what you meant .

If by libraries you mean the .NET Base Class Libraries, like System.Collections and System.Drawing, which underpin the .NET Framework then no, you can't access them directly but need a wrapper library written in a .NET language, preferably C#. The StringsEx library that you mentioned in another post is a wrapper round System.String to expose more String functionality to Basic4ppc.There are two reasons for preferring C# over the other popular alternative VB.NET. Firstly VB puts extra helper classes of its' own into a library which are visible as unnecessary objects in Basic4ppc Tools -> AddObject and secondly (more importantly) the C# source code can be compiled by Basic4ppc into the final application whereas VB libraries have to stay as separate individual entities.

If you mean libraries written by other people but not specifically intended for use with Basic4ppc the answer is a qualified maybe. It depends upon how the library has been structured by the author. You may be able to use some of the classes in a library in Basic4ppc but not others. You will almost certainly see loads of objects (classes) in AddObject that are of no use. Also events generated by such a library will not be raised in Basic4ppc as a library needs an event architecture specific to Basic4ppc for the events to occur within a Basic4ppc program.
__________________
Sorry, but I don't answer questions by PM or email.
Please post your queries in the forum.
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
Updated Libraries since... enonod Official Updates 3 06-20-2010 02:17 PM
storage of libraries in WM moster67 Questions (Windows Mobile) 2 08-10-2008 09:09 AM
FTP libraries craigisaacs Questions (Windows Mobile) 1 12-20-2007 05:14 AM
Latest libraries agraham Questions (Windows Mobile) 1 08-14-2007 04:55 PM
How to add libraries with Basic4ppc 3.01 ? conf Questions (Windows Mobile) 2 05-17-2007 03:03 AM


All times are GMT. The time now is 10:37 AM.


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