Device emulators. Where are ntx files?

Post Reply
xVar
Posts: 35
Joined: Mon Jan 19, 2009 9:14 am

Device emulators. Where are ntx files?

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

Re: Device emulators. Where are ntx files?

Post 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.
regards, saludos

Antonio Linares
www.fivetechsoft.com
xVar
Posts: 35
Joined: Mon Jan 19, 2009 9:14 am

Re: Device emulators. Where are ntx files?

Post by xVar »

OK. Thanks. Andrej.
Post Reply