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 loading external library?

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-20-2007, 07:08 PM
Junior Member
 
Join Date: Sep 2007
Posts: 22
Default Error loading external library?

Hi there,
I'm very new to Basic4PPC, so please excuse me if I sound dumb - but at least I have searched the forum (in vain) for an answer to my question:

I tried the example programs with external libraries, e.g. the email example or the outlook example. I copied the desktop libraries to the Libraries subfolder on my PC, added the libs with "Tools - Components", and the source program compiles okay.
I put the compiled executable plus the PPC library onto my device, open the excutable and get an "Error loading external library".

Am I missing something here? Do I have to make the library known on my device?

I use an XDA Orbit (equals HTC...) with Windows Mobile 5.

Thanks,
Frank


added 1 hour later: Well, I got at least the Outlook library working by copying the DLL to the directory where basic4ppx.exe resides on the PPC...

Last edited by Frank : 09-20-2007 at 08:09 PM.
Reply With Quote
  #2 (permalink)  
Old 09-20-2007, 08:34 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,344
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

All external files(libs) must be in the same folder as the exe, ecept if it is possible to target them in the code (image files, txt, etc...)

Outlook lib uses .net cf 2.0 so an adicional file must be copied to the apps folder....its a configuration file that tell the program to work with cf2.0( you also need to be sure you have this installed in the ppc)...

Look at this thread and you will find your answer.....
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)

My Posts helped you? Consider Buying me a Porto Glass!
Reply With Quote
  #3 (permalink)  
Old 09-24-2007, 10:49 AM
Junior Member
 
Join Date: Sep 2007
Posts: 22
Default Thanks for the tip...

... somehow I got it working - not with all libraries, but with the ones I'm using right now.
I might come back with this question if I encounter further problems...


Thanks,
Frank
Reply With Quote
  #4 (permalink)  
Old 09-24-2007, 02:54 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,734
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

I recommend you to read this thread: http://www.basic4ppc.com/forum/code-samples-tips/38-best-folder-your-source-code.html
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
SQLite external library newbie question JamesC Questions (Windows Mobile) 2 05-29-2008 03:48 AM
External compiler error prinsen Questions (Windows Mobile) 3 03-19-2008 07:54 PM
Error When Loading Tutorial corwinckler Questions (Windows Mobile) 2 12-12-2007 01:24 PM
How to add an external library? ikaplan Questions (Windows Mobile) 2 12-06-2007 09:59 AM
Error loading SQL Component conniemalan Questions (Windows Mobile) 1 07-27-2007 08:29 AM


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


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