Using Win32 functions in Visual FoxPro Image Gallery
Remote Application Programming (RAPI)
..msdn
CeCloseHandle
CeCopyFile
CeCreateDatabase
CeCreateDirectory
CeCreateFile
CeCreateProcess
CeDeleteDatabase
CeDeleteFile
CeDeleteRecord
CeEnumDBVolumes
CeFindAllFiles
CeFindFirstDatabaseEx
CeFindFirstFile
CeFindNextDatabaseEx
CeGetFileSize
CeGetLastError
CeGetSpecialFolderPath
CeGetStoreInformation
CeGetSystemInfo
CeGetSystemPowerStatusEx
CeGetTempPath
CeGetVersionEx
CeGlobalMemoryStatus
CeMoveFile
CeOidGetInfoEx
CeOpenDatabase
CeRapiFreeBuffer
CeRapiGetError
CeRapiInit
CeRapiInitEx
CeRapiInvoke
CeRapiUninit
CeReadFile
CeReadRecordProps
CeRegCloseKey
CeRegCreateKeyEx
CeRegDeleteKey
CeRegDeleteValue
CeRegEnumKeyEx
CeRegEnumValue
CeRegOpenKeyEx
CeRegQueryInfoKey
CeRegQueryValueEx
CeRegSetValueEx
CeRemoveDirectory
CeSeekDatabase
CeSetFilePointer
CeWriteFile
CeWriteRecordProps
Code examples:
Pocket PC: custom RAPI class for operating with the Object Store Databases
Pocket PC: custom RAPI class for operating with the Object Store Databases

User rating: 0/10 (0 votes)
Rate this code sample:
  • ~
More code examples    Listed functions    Add comment     W32 Constants      Translate this page Printer friendly version of this code sample
Before you begin:
The object store is the permanently mounted RAM-based storage area that contains the built-in file system, the system registry, and property databases.

This class is subclassed from the base RAPI class. Some members of it are implemented through collections. That unfortunately makes it unusable under Visual FoxPro versions 6 and older.

Solutions based on this class:
  • enumerating mounted database volumes and databases in the Object Store
  • reading the Contacts Database
  • creating new database and adding records to it
  •  
      Members area. Log in to view this example.
     
      User name:
      Password:
     
     
      Forgot your password?
     
      Sign up for
    the Membership
     
     


    User rating: 0/10 (0 votes)
    Rate this code sample:
    • ~
    10624 bytes  
    Created: 2004-06-29 10:28:19  
    Modified: 2011-12-10 09:20:22  
    Visits in 7 days: 83  
    Listed functions:
    CeCreateDatabase
    CeDeleteDatabase
    CeDeleteRecord
    CeEnumDBVolumes
    CeFindFirstDatabaseEx
    CeFindNextDatabaseEx
    CeOidGetInfoEx
    CeOpenDatabase
    CeReadRecordProps
    CeSeekDatabase
    CeWriteRecordProps
    Printer friendly API declarations
    My comment:
    MSDN:"Databases provide storage, access, and sorting of property-set records.

    The Windows CE database model is that of a small, flat structure, optimized for small, efficient storage. As such, the Windows CE database APIs do not correspond to the Win32 database APIs.

    Data operations are transactioned within the object store or a database volume, which protects against data loss. If a Windows CE–based device loses power (reset or suspend/resume, where the RAM is refreshed) during a data transaction, Windows CE reverts all partial database operations to the last known good state. "


    Read complete topic Microsoft Windows CE Databases at the MSDN web site.

    #kwd: sln_pocketpc.
    Word Index links for this example:
    Translate this page:
      Spanish    Portuguese    German    French    Italian  
    FreeTranslation.com offers instant, free translations of text or web pages.
    User Contributed Notes:
    146.145.45.227 | 2005-09-11 16:30:42
    Does not work with vfp7.
    Uses Try/Catch code
    GDIPlus.Prg uses vfp8 Createobject("collection") which is unsupported in vfp7.

    Copyright © 2001-2013 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

    Privacy policy
    Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.1.55-log), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
    Last Topics Visited (23.22.252.150)
    2.1 hrs.Function: 'GlobalAlloc'
    Function group: 'Memory Management'
    4.33 hrs.Example: 'Obtaining list of tables stored in an ODBC Data Source'
     Example: 'Storing screen shot of a form to enhanced metafile (*.emf)'
     Example: 'Creating an Open dialog box to specify the drive, directory, and name of a file to open (Shell32 version)'
    10.39 hrs.Example: 'Form Magnifier'
     Example: 'How to print picture stored in enhanced-format metafile (*.emf)'
    13.23 hrs.Example: 'Retrieving the names of all sections in an initialization file'
    13.24 hrs.Function: 'CallWindowProc'
    14.04 hrs.Function: 'FindNextChangeNotification'
     Function: 'mmioAscend'
    Function group: 'Windows Multimedia'
    Google
    Advertise here!