Device emulators. Where are ntx files?

Device emulators. Where are ntx files?

Postby xVar » Tue Mar 03, 2009 2:50 pm

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
xVar
 
Posts: 35
Joined: Mon Jan 19, 2009 9:14 am

Re: Device emulators. Where are ntx files?

Postby Antonio Linares » Wed Mar 04, 2009 8:37 am

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

Re: Device emulators. Where are ntx files?

Postby xVar » Wed Mar 04, 2009 9:44 am

OK. Thanks. Andrej.
xVar
 
Posts: 35
Joined: Mon Jan 19, 2009 9:14 am


Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 5 guests