FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Pocket PC Bug in INDEX command
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Bug in INDEX command
Posted: Sun May 20, 2007 11:53 AM
This is the sample:

#include "Fwce.ch"


FUNCTION MAIN()

    DBCREATE( CURDIR() + "\TMPTEST", { { "TEST", "C", 10, 0 } } )

    USE ( CURDIR() + "\TMPTEST" )

    APPEND BLANK

    REPLACE FIELD -> test WITH "Test 1"

    APPEND BLANK

    REPLACE FIELD -> test WITH "Test 2"

    INDEX ON FIELD -> test TO ( CURDIR() + "\TMPTEST" )

    CLOSE

    MSGINFO( "Done!" )

    RETURN NIL


It gives "Corruption detected" error.

EMG
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Bug in INDEX command
Posted: Sun May 20, 2007 10:34 PM

This sample works fine in MyDevice.

EMG

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Bug in INDEX command
Posted: Mon May 21, 2007 05:33 AM

Enrico,

It looks as the same behavior. Applications should be tested on the Pocket PC memory, not on the memory card

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Bug in INDEX command
Posted: Mon May 21, 2007 06:43 AM

The problem is that apparently the memory card can't be mapped to a directory of the PC and this forces to do a manual copy/paste on the device at each execution. :-(

Are there other solutions?

EMG

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Bug in INDEX command
Posted: Mon May 21, 2007 06:57 AM

Enrico,

You can use Microsoft's device emulator manager:

http://rapidshare.com/files/32491820/dv ... r.zip.html
to manage the emulator from your PC and then move the files to the desired location

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Bug in INDEX command
Posted: Mon May 21, 2007 07:47 AM

Thank you, but all I get is "Cannot start the emulator" error message. :-(

EMG

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Bug in INDEX command
Posted: Mon May 21, 2007 08:03 AM

Enrico,

You need to have the emulator running before using it

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Bug in INDEX command
Posted: Mon May 21, 2007 08:09 AM

Just tried. Same result. Perhaps some other components is required? Or my emulator is not the right one? It already has a device manager but I get nothing when I run it.

EMG

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Bug in INDEX command
Posted: Mon May 21, 2007 08:46 AM

Enrico,

Do you have ActiveSync installed on your computer ? It is required for the dvcemumanager.exe to properly work

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Bug in INDEX command
Posted: Mon May 21, 2007 08:57 AM

No, from where can I download it?

Thank you!

EMG

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Bug in INDEX command
Posted: Mon May 21, 2007 09:32 AM

Enrico,

Google for it. Its a Microsoft download

If you are using Windows Vista then it is no longer needed, as it is part of Vista

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Bug in INDEX command
Posted: Mon May 21, 2007 09:43 AM

Ok, I already downloaded and installed ActiveSync 4.5 but it won't connect to my device emulator.

Any hint?

EMG

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Bug in INDEX command
Posted: Mon May 21, 2007 09:46 AM

Enrico,

Once the emulator is running, then you execute dvcemumanager.exe and what screen do you get ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Bug in INDEX command
Posted: Mon May 21, 2007 09:49 AM

As previously: nothing at all with the version provided with the emulator and "Cannot start the emulator" with the version you sent me.

EMG

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Bug in INDEX command
Posted: Mon May 21, 2007 10:13 AM

Enrico,

Are you using XP ?

regards, saludos

Antonio Linares
www.fivetechsoft.com