Record locking on Windows Mobile 5.01
- Eugeniusz Owsiak
- Posts: 60
- Joined: Fri Oct 07, 2005 5:38 am
- Location: Poland
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Eugeniusz Owsiak
- Posts: 60
- Joined: Fri Oct 07, 2005 5:38 am
- Location: Poland
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
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
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Eugeniusz Owsiak
- Posts: 60
- Joined: Fri Oct 07, 2005 5:38 am
- Location: Poland
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
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 ?
>
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 ?
Last edited by Antonio Linares on Thu Mar 30, 2006 1:46 pm, edited 1 time in total.
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Eugeniusz,
Does this code shows "ok" on the emulator ?
Does this code shows "ok" on the emulator ?
Code: Select all
#include "FWCE.ch"
function Main()
USE ( CurDir() + "\customer.dbf" ) SHARED
if RLock()
MsgInfo( "ok" )
UNLOCK
else
MsgInfo( "no" )
endif
USE
return nil
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
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
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Eugeniusz Owsiak
- Posts: 60
- Joined: Fri Oct 07, 2005 5:38 am
- Location: Poland