Page 1 of 1

Device emulators. Where are ntx files?

Posted: Tue Mar 03, 2009 2:50 pm
by xVar
Hi everybody!

I download win Mobile 6 emulators from MS, and try run application on this emulators.

This code is OK.
//
cFileName := "\kaptar"+ ".dbf"
USE ( CurDir() + cFileName ) ALIAS BASE NEW
Index On Upper(Field->RFIDTAG) To Base1
Set Index To Base1
//
After run application on emulator I can't find any Base1 file on my HD.. :roll:


Well. I try this
//
Set default to (CurDir())
//

Application don't run on Mobile 6 emulator, but run on mobile 5 or PC 2003 emulator

Base1.ntx file is in current directory!


After I try
//
cFileName := "\kaptar"+ ".dbf"
USE ( CurDir() + cFileName ) ALIAS BASE NEW
Index On Upper(Field->RFIDTAG) To (CurDir()+"\Base1")
Set Index To (CurDir()+"\Base1")
//

It's not work on Mobile 6 emulator but run on mobile 5 or PC 2003 , and Base1.ntx file is in current directory!

Question : "Why I don"t find any base1.* files when run my first code ?"

Regards.
Andrej

Re: Device emulators. Where are ntx files?

Posted: Wed Mar 04, 2009 8:37 am
by Antonio Linares
Andrej,

You have to specify CurDir() to let Harbour exactly know where the file is.

Please compile using /p flag to create a preprocessed PPO file (ascii) and check the resulting code when you use those commands.

Re: Device emulators. Where are ntx files?

Posted: Wed Mar 04, 2009 9:44 am
by xVar
OK. Thanks. Andrej.