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.

Hardware Library 3.10 Error

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-15-2008, 01:04 AM
Senior Member
 
Join Date: May 2007
Posts: 125
Default Hardware Library 3.10 Error

Hi Erel,
In the IDE and when using the optomized compiler with the Hardware.dll library for the device, on the desktop I get this error:
Error compiling program. Error message: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more
information.
OK
Will renaming HardwareDesktop.dll to Hardware.dll and compiling with the optimized compiler and then replacing the desktop version of Hardware.dll with the version for the device link it correctly? When using the legacy way of compiling, the hardware.dll for the device has no problems. Thanks.
Reply With Quote
  #2 (permalink)  
Old 01-15-2008, 04:45 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,733
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

You should use the Hardware / HardwareDesktop files that came with V6.0.
The DLLVersion is 3.2.
Reply With Quote
  #3 (permalink)  
Old 01-15-2008, 05:37 AM
Senior Member
 
Join Date: May 2007
Posts: 125
Default

Hi. I replaced the libraries and still get the same error when trying to compile optomized apps for the device that link with the device version. The desktop version works fine on the desktop, but it compiles fine for the device if I turn off the optomized compilation. Also, this error comes up in the IDE when adding the hardware.dll library to both the desktop and the device, or either one. Thanks.
Reply With Quote
  #4 (permalink)  
Old 01-15-2008, 05:55 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,733
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Please try to compile the attached file using the included libraries.
Attached Files
File Type: zip test.zip (9.2 KB, 26 views)
Reply With Quote
  #5 (permalink)  
Old 08-19-2009, 12:12 PM
Newbie
 
Join Date: Aug 2009
Posts: 3
Default Load error with hardware library

I just installed the basic4ppc yesterday and I'm getting the same error as the OP

"Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information."

The Hardware.dll and HardwareDesktop.dll are copied into my build directory as they should be, but it throws up an error and I can't add a hardware object to the project.
Reply With Quote
  #6 (permalink)  
Old 08-19-2009, 07:33 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,733
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Did you add Hardware.dll to the device and HardwareDesktop.dll to the desktop in the components dialog?
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
Hardware library - V3.41 Erel Official Updates 0 07-13-2008 03:15 PM
Hardware library - V3.4 Erel Official Updates 0 04-17-2008 03:41 PM
Hardware library - V3.3 Erel Official Updates 0 03-01-2008 04:16 PM
Hardware library was updated - 3.00 Erel Announcements 1 09-10-2007 09:21 PM
Hardware library was updated Erel Announcements 17 05-31-2007 07:14 AM


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


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