Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed 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
Knows the basics
 
Join Date: May 2007
Posts: 86
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: 2,849
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
Knows the basics
 
Join Date: May 2007
Posts: 86
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: 2,849
Default

Please try to compile the attached file using the included libraries.
Attached Files
File Type: zip test.zip (9.2 KB, 17 views)
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
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 - 2.70 Erel Announcements 2 07-01-2007 06:50 PM
Hardware library was updated Erel Announcements 17 05-31-2007 07:14 AM
Hardware library was updated Erel Announcements 2 05-16-2007 10:40 AM


All times are GMT. The time now is 07:14 PM.


Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0