FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Pocket PC CurDir() bug
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
CurDir() bug
Posted: Sat Oct 29, 2005 06:30 PM

The following sample shows spurious characters if run from the root directory (MyDevice):

include "Fwce.ch"

FUNCTION MAIN()

MSGALERT( "*" + CURDIR() + "*" )

RETURN NIL

The problem is reproduceable with the device emulator.

EMG

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
CurDir() bug
Posted: Sat Oct 29, 2005 08:06 PM
Enrico,

Strange. I have just tested it here and see how it looks:



Also, if I copy the EXE to the root directory I get "**", which it is ok.
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
CurDir() bug
Posted: Sat Oct 29, 2005 08:41 PM

Try to copy the EXE in MyDevice directory.

EMG

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
CurDir() bug
Posted: Sat Oct 29, 2005 08:47 PM
Enrico,

This is what I get:

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
CurDir() bug
Posted: Sat Oct 29, 2005 08:53 PM

Can you send me your EXE to test it here?

EMG

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
CurDir() bug
Posted: Sat Oct 29, 2005 09:03 PM

Enrico,

We have just uploaded a new FWPPC build that may fix what you describe. Please test it again, thanks!

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
CurDir() bug
Posted: Sat Oct 29, 2005 09:13 PM

Unfortunately the problem is still here. I've just sent you my EXE and a screenshot of the problem to your private email.

Let me know.

EMG

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
CurDir() bug
Posted: Sat Oct 29, 2005 09:45 PM

Enrico,

Your sample fails here. Mine is ok. I have sent you my test.

Are you using standard samples\buildce.bat or do you have a modified one ?

Thanks!

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
CurDir() bug
Posted: Sat Oct 29, 2005 10:21 PM

Your test works fine here but I discovered something very strange. I simply made a copy of my PRG and recompiled it. The new EXE works fine while the old EXE shows the bug!

And yes, I tried using the standard FWPPC batch with identical results.

EMG

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
CurDir() bug
Posted: Sat Oct 29, 2005 11:58 PM

Enrico,

It looks as we still had a little bug in GetCurrentDirectory() implementation. We are going to upload a new build.

I appreciate your feedback. Thanks,

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion