CurDir() bug

CurDir() bug

Postby Enrico Maria Giordano » Sat Oct 29, 2005 6: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
User avatar
Enrico Maria Giordano
 
Posts: 8315
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Antonio Linares » Sat Oct 29, 2005 8:06 pm

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: 41313
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Enrico Maria Giordano » Sat Oct 29, 2005 8:41 pm

Try to copy the EXE in MyDevice directory.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8315
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Antonio Linares » Sat Oct 29, 2005 8:47 pm

Enrico,

This is what I get:

Image
regards, saludos

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

Postby Enrico Maria Giordano » Sat Oct 29, 2005 8:53 pm

Can you send me your EXE to test it here?

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8315
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Antonio Linares » Sat Oct 29, 2005 9: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41313
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Enrico Maria Giordano » Sat Oct 29, 2005 9: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
User avatar
Enrico Maria Giordano
 
Posts: 8315
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Antonio Linares » Sat Oct 29, 2005 9: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41313
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

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

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


Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 4 guests

cron