SETDRIVE NOBANNER
Hoping for a minor miracle here...--- Synchronet 3.21d-Linux NewsLink 1.2
I have a Clipper application running on a handheld device (Pocket PC).
I'm using PocketDOS as the OS on the handheld device. I'm trying to
port this application to a handheld running Windows CE 7.0. Although
I had some issues installing PocketDOS on the Windows CE device (was
unable to use the installer and had to install manually), I got it
installed and am able to launch and run the Clipper application on
this device.
The application runs fine until I try to create an index, then the application fails when I try to use that index.
Example:
Program A uses the following statement:
use c:\SCANFILE.DBF index C:\SCANFILE.NDX alias SCANFILE
That works fine as long as I'm using the original index created on the
old Pocket PC handheld. Then I have a program that does:
if file( "SCANFILE.DBF" ) = .T.
if file( "SCANFILE.NDX" ) = .T.
erase ("SCANFILE.NDX")
endif
use SCANFILE.DBF
index on ITEM to SCANFILE.NDX
endif
That runs OK, but the next time I try to run program A, it fails on
the "use" statement with the error: "expression error ( in index key
)"
The database files and indexes were copied from the working device to
the new device. As stated, accessing the database files via the index
works OK initially, but when I try to recreate the index the program
then fails as described. If I re-copy the files, the program works
again until I try to recreate the index.
Any ideas out there?
--
Scott at Scott dash(-) Coffey dot net
Hoping for a minor miracle here......
if file( "c:\SCANFILE.DBF" ) = .T.... how do you know c:\ has been selected?
if file( "c:\SCANFILE.NDX" ) = .T.
erase ("c:\SCANFILE.NDX")
endif
use SCANFILE.DBF
index on ITEM to SCANFILE.NDX
endif... then
use c:\SCANFILE.DBF index C:\SCANFILE.NDX alias SCANFILEMicro$haft never did like code writing to the root of the C-drive. Why do you? All that would need to happen is for the application to have selected the "working" or "program" directory for this to fail.
Any ideas out there?
Scott at Scott dash(-) Coffey dot net
Can copying your files from the source to the destination be done from within Pocket OS? Iow, does Pocket OS recognize external volumes (even NTFS volumes), then try installing everything into your Pocket OS volume by hauling over from your source volume, not via the Host OS?
Mind, i'm unfamiliar with Pocket OS, but it's worth trying
Frank
Do you boot your device with PocketOS? Or does it run under a VM?
Does Pocket OS support FAT32? Does Windows CE have known issues with FAT32? Better not use a NTFS volume, even if Pocket OS supports it!
Do you combine the latest .libs for Clipper '87?
Does mounting to another drive letter than C:\ changes anything
Can copying your files from the source to the destination be done from within Pocket OS? Iow, does Pocket OS recognize external volumes (even NTFS volumes), then try installing everything into your Pocket OS volume by hauling over from your source volume, not via the Host OS?
Mind, i'm unfamiliar with Pocket OS, but it's worth trying
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 65 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 02:12:16 |
| Calls: | 862 |
| Files: | 1,311 |
| D/L today: |
10 files (20,373K bytes) |
| Messages: | 264,323 |