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.

Finding DLL on PPC

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-29-2007, 03:18 PM
Junior Member
 
Join Date: Aug 2007
Location: The netherland, Geldrop
Posts: 23
Default Finding DLL on PPC

Hi ,

After installing B4PPC on the PDA, I can't find the DDL-folder. Is this only available at the desktop?

I use a CF-card while creating code for PPC-applications. So I can work at my applications with my PDA, Laptop or Desktop. The Anywhere Software concept? When adding a DLL to the project, both the desktop and PPC-versions, with the Desk- or Laptop, it can be found while running on the Desktop. But running teh applicatication on the PDA, it can''t find the DLL. I can see it on the card in the proper folder, just one level down the root. Moving the project to the root doesn't make a difference.

Paul J
Reply With Quote
  #2 (permalink)  
Old 09-29-2007, 03:24 PM
MM2forever's Avatar
Senior Member
 
Join Date: Jun 2007
Location: Germany
Posts: 103
Send a message via ICQ to MM2forever Send a message via MSN to MM2forever Send a message via Skype™ to MM2forever
Default

As far as I understood your problem, the solution is to have a folder on the card where you put all your .dll's from >Anywhere Software folder in "Programs">/Librarys.
All the code you are writing then goes in that folder too.
Now everything should work fine.

When starting to create an application on the device, you add .dll's from the folder named above.
When bringin it on the Desktop to e.g. continue work, you have to put all the dll's the program uses into the folder on the desktop comp..

As you see, the dlls have to be in same folder as the final .exe or the .sbp
Reply With Quote
  #3 (permalink)  
Old 09-29-2007, 03:50 PM
Junior Member
 
Join Date: Aug 2007
Location: The netherland, Geldrop
Posts: 23
Default

Thanks MM2forever, I understand both the SBP and needed DLL has to be in the same folder, and that's is my situation. But I want to work with both the code and the needed DLL's on the same CF-card, both on the PPC and on the DeskTop (over a card-reader). I want to avoid to move/copy files when changing my environment. That's not my idea of developing Software Anywhere.
Reply With Quote
  #4 (permalink)  
Old 09-29-2007, 04:03 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

The dll files are not installed by default on the device.
It is recommended to create your projects under the synchronized folder (\My Documents).
That way you can easily work on your code, on the desktop and on the device and the required libraries will automatically be copied to the device.
However you can manually copy all the dll files from the desktop to the device.
They are located under: "C:\Program Files\Anywhere Software\Libraries"
Reply With Quote
  #5 (permalink)  
Old 09-29-2007, 04:18 PM
MM2forever's Avatar
Senior Member
 
Join Date: Jun 2007
Location: Germany
Posts: 103
Send a message via ICQ to MM2forever Send a message via MSN to MM2forever Send a message via Skype™ to MM2forever
Default

I think thats nearly the thing i said (or ment, but did not write)

you can keep your structure and synchronize with apps like this one:
http://www.pocketpcfreewares.com/en/index.php?soft=985
Reply With Quote
  #6 (permalink)  
Old 09-29-2007, 06:46 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

For a while I used a StorageCard as a base of operations, so when I was on desktop, I'de pop-in the sd in the reader, and when finished pop it out to use in the device.With this solution You have to remember to always load both device and desktop dlls that are beeing used in your under-developing app...
__________________
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
  #7 (permalink)  
Old 09-29-2007, 10:12 PM
Junior Member
 
Join Date: Aug 2007
Location: The netherland, Geldrop
Posts: 23
Default

I followed the several advises, so I created a b4ppc_dll folder on the CF-card and Copied al the dll's from the desktop. From the PPC I opend my project en immediadly it launched the error "an error orrured\storage card\b4ppc_projects\outlook.dll". examening the folder I see the dll. In the project I removed the pointer and added the dll again, all with the components-function. Same error. Running the application on the CF-card from the desktop, there are no errors. I use the most recent DLL's (sept 2007)
Reply With Quote
  #8 (permalink)  
Old 09-29-2007, 10:26 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

Quote:
Originally Posted by paul j View Post
I From the PPC I opend my project en immediadly it launched the error "an error orrured\storage card\b4ppc_projects\outlook.dll". examening the folder I see the dll. In the project I removed the pointer and added the dll again, all with the components-function. Same error. Running the application on the CF-card from the desktop, there are no errors. I use the most recent DLL's (sept 2007)
How can you be sure if the code is running OK in the desktop if, as Erel mentioned, OutlookDesktop is a dummy library, so it does NOTHING!?
Another thing that might be hapenning is that you are keeping the outlookDesktop component reference when running the app in the device....try to delete it...and don't forget to ad the device version dll....
__________________
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
  #9 (permalink)  
Old 09-29-2007, 11:08 PM
Junior Member
 
Join Date: Aug 2007
Location: The netherland, Geldrop
Posts: 23
Default

Hi Paulo,

the last you mentioned, removing the pointer/reference of the desktop, is just what I did and added the reference again but from the PPC, but still the error is there.B4PPC can find SBP several levels deed in the folder-structure, so I suppose it can do this with de DDL's to... or not? putting the SBP and the DLL in the root of the CF-Card, didn't give a result
Reply With Quote
  #10 (permalink)  
Old 09-29-2007, 11:11 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

I would suggest that you posted the code sample that error so that we can take a better look at it....
Remember also that outlook is a .net cf2.0 dependent dll so you must have it installed before .....
__________________
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
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
Finding those important forum posts enonod Code Samples & Tips 0 05-30-2008 08:02 AM
Finding phone's IP? XHorntail Questions (Windows Mobile) 4 05-14-2008 03:58 AM
Finding the parent of a control willisgt Questions (Windows Mobile) 3 02-15-2008 06:53 PM


All times are GMT. The time now is 05:20 AM.


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