CurDir() bug

Post Reply
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

CurDir() bug

Post by Enrico Maria Giordano »

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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Enrico,

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

Image

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Enrico,

This is what I get:

Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

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
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Post by Enrico Maria Giordano »

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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

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
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Post by Enrico Maria Giordano »

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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

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
Post Reply