Page 2 of 2
Posted:
Thu Mar 30, 2006 5:58 am
by Eugeniusz Owsiak
Antonio,
I have some trouble with instalation WM 5.0 emulator on my computer.
I have downloaded a Windows Mobile 5.0 Pocket PC SDK.msi but at instalation time I get error.
Can You send me USA_PPC.bin (if it is not to big )
regards ,
Eugeniusz
Posted:
Thu Mar 30, 2006 6:38 am
by Antonio Linares
Eugeniusz,
Open the msi file doing this:
msiexec /a <filename.msi>
it will force the msi to be installed
Posted:
Thu Mar 30, 2006 9:25 am
by Eugeniusz Owsiak
Antonio,
Emulator WM 5.0 is instaled and work perfectly.
I can map path of my computer thru the option "Configure" in menu "File" and open it from "
Storage Card" like in previous version of emulator.
Behavior of program executed this way is the same like on realy PPC - rLock return .F.
I cannot asign any net path thru File Explorer ->Menu->Open Path
regards,
Eugeniusz
Posted:
Thu Mar 30, 2006 9:42 am
by Antonio Linares
Eugeniousz,
> I cannot asign any net path thru File Explorer ->Menu->Open Path
Thats the problem. If we can not assign it then we can not open a DBF located there
Posted:
Thu Mar 30, 2006 10:45 am
by Eugeniusz Owsiak
Antonio,
> If we can not assign it then we can not open a DBF located there
But path mapping works and I can execute exe with opening a dbf file in share mode on a 'net disk'. This is all I want to get testing procedures with file shering
regards
Eugeniusz
Posted:
Thu Mar 30, 2006 1:39 pm
by Antonio Linares
Eugeniusz,
>
But path mapping works and I can execute exe with opening a dbf file in share mode on a 'net disk'. This is all I want to get testing procedures with file shering
>
Do you mean that you use the shared folder for the SD card emulation ?
Posted:
Thu Mar 30, 2006 1:46 pm
by Antonio Linares
Eugeniusz,
Does this code shows "ok" on the emulator ?
- Code: Select all Expand view
#include "FWCE.ch"
function Main()
USE ( CurDir() + "\customer.dbf" ) SHARED
if RLock()
MsgInfo( "ok" )
UNLOCK
else
MsgInfo( "no" )
endif
USE
return nil
Posted:
Thu Mar 30, 2006 1:58 pm
by Maurizio
This is my test with SHARE :
On WindowsCE
I have this messages :"LockFileEx() not supported in this windows mobile version" , the same for the file on PC or in the Pocket
On Windows Mobile 2005
if the path is on the Pocket the command rlock() returns OK
if the path is on PC the comman USE with SHARE block the programm
and I need a reset
(without SHARE all run OK)
Regards Maurizio
Posted:
Thu Mar 30, 2006 2:07 pm
by Antonio Linares
Maurizio,
Thanks for your feedback. Yes, here we get the same results as you. Maybe the files stored at the SD card can not be locked.
We should try this code:
USE "\\computer_ip\shared_directory\customer.dbf" SHARED
but we can't get it to work from the emulator.
Posted:
Thu Mar 30, 2006 2:15 pm
by Maurizio
Hello Antonio
If I try (with WM 2005)
USE "\\computer_ip\shared_directory\customer.dbf" SHARED
it crash the programm
Maurizio
Posted:
Thu Mar 30, 2006 4:01 pm
by Eugeniusz Owsiak
Antonio,
This piece of program on WM 5.0 (shared SD) and on my Pocket PC connected via WiFi to my computer return 'no'.
So emulator work properly just like PPC.
regards
Eugeniusz