Basic4ppc - Windows Mobile Development  

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

Announcements Announcements of new versions and new libraries.


Hardware library was updated


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-23-2007, 05:13 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,141
Default Hardware library was updated

The Hardware library was updated and it now also includes:
- Clipboard operations.
- GCCollect / GCAllocatedMemory - Handle managed memory.
- GetSpecialFolder - Gets the path to one of the special folders.
- NetVersion - Retrieves the .Net Framework version.

www.basic4ppc.com/Downloads.html
Reply With Quote
  #2 (permalink)  
Old 05-23-2007, 06:42 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,318
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

Erel....Whats the special folders?
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD

DLL Version Listing
Reply With Quote
  #3 (permalink)  
Old 05-23-2007, 07:01 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,141
Default

These are the special folders:
sfFavorites - The user favorite items folder.
sfFonts - The fonts folder.
sfPersonal - The default folder for documents.
sfProgramFiles - The program files.
sfPrograms - The programs shortcuts folder.
sfStartMenu - The main menu shortcuts.
sfStartup - Application in this folder will be launched at startup.
sfWindows - The windows folder.
Reply With Quote
  #4 (permalink)  
Old 05-23-2007, 09:15 PM
specci48's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Germany
Posts: 638
Default

Could you add these constants in the next version of the help file?
Reply With Quote
  #5 (permalink)  
Old 05-23-2007, 10:44 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,141
Default

These constants are part of the hardware library.
They will all appear in the pop up menu.
Reply With Quote
  #6 (permalink)  
Old 05-24-2007, 04:16 PM
specci48's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Germany
Posts: 638
Default

Yes, I've seen them but in my eyes something like that should be documented in the help file, too!
Reply With Quote
  #7 (permalink)  
Old 05-25-2007, 12:00 PM
alfcen's Avatar
Basic4ppc Veteran
 
Join Date: Apr 2007
Location: Okinawa, Ryukyu
Posts: 424
Awards Showcase
Beta Tester 
Total Awards: 1
Default Hardware Library

The enhanced library is a charm, especially the garbage collection feature and the Framework query. Erel, am I assuming correctly that GC does not clear temporary internet files?
Compliments!
Robert
Reply With Quote
  #8 (permalink)  
Old 05-25-2007, 03:08 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,141
Default

You assume correctly.
It only clears unreferenced allocated memory.
Reply With Quote
  #9 (permalink)  
Old 05-25-2007, 08:37 PM
Newbie
 
Join Date: Apr 2007
Posts: 5
Default Desktop app shows error message after installing new Hardware library

Hi

I eagerly instaled the new hardware library, looking forward to the clipboard function but I get a strange error message now when I launch the desktop (V5) application. i.e.

System.Runtime.InteropService.ExternalException:Th e requested clipboard operation failed.
at System.WIndows.Forms.Clipboard.SetDataObject(Objec t data, Boolean copy)
at System.WIndows.Forms.Clipboard.SetDataObject(Objec t data)
at Dbasic.Form1.HighLightAllText(Int32 new TabSize)

Im running with Vista and just copied the hardware files to the Program Libraries folder. Also the Hardware Help file doesnt work under Vista.

Any ideas?

Thanks

Bats
Reply With Quote
  #10 (permalink)  
Old 05-26-2007, 05:35 AM
alfcen's Avatar
Basic4ppc Veteran
 
Join Date: Apr 2007
Location: Okinawa, Ryukyu
Posts: 424
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Hi
As far as I am aware, the hardware library runs on the device only.
The hardware desktop library is basically a dummy merely capable of retrieving the .NET framework version.
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 was updated Erel Announcements 0 03-01-2008 05:20 PM
Hardware library was updated - 3.10 Erel Announcements 15 12-30-2007 04:18 PM
Hardware library was updated - 3.00 Erel Announcements 1 09-10-2007 10:21 PM
Hardware library was updated - 2.70 Erel Announcements 2 07-01-2007 07:50 PM
Hardware library was updated Erel Announcements 2 05-16-2007 11:40 AM


All times are GMT. The time now is 09:36 PM.


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