Page 2 of 2

PostPosted: Tue Apr 11, 2006 4:58 pm
by Antonio Linares
Eugeniusz,

Are you using the same Windows Mobile version on the emulator and on the real Pocket PC ?

PostPosted: Tue Apr 11, 2006 6:11 pm
by Eugeniusz Owsiak
Antonio,

Yes, the same version

Now I'm testing program on Win Server 2000. PPC is making connection, resolving GetHostByName but terminate with message:
"Internal error" at sending data to socket server oSocket:SendData("Data")

I cannot trace why.

Regards
Eugeniusz

PostPosted: Tue Apr 11, 2006 7:14 pm
by Antonio Linares
Eugeniusz,

Does the internal error provide its description ? (it should)

PostPosted: Wed Apr 12, 2006 5:09 am
by Eugeniusz Owsiak
Antonio,
There was nothing in description. :(
Regards
Eugeniusz

PostPosted: Fri Apr 14, 2006 7:33 am
by Antonio Linares
Eugeniusz,

Is there a way to reproduce it on the Pocket PC emulator ?

PostPosted: Fri Apr 14, 2006 8:56 am
by Eugeniusz Owsiak
Antonio,
I tray but I cannot get this error on emulator.

BTW I ask on msnews.microsoft.com microsoft.public.pocketpc.developer
for file and record locking.

Best regards
Eugeniusz

PostPosted: Fri Apr 14, 2006 6:29 pm
by Antonio Linares
Eugeniusz,

>
BTW I ask on msnews.microsoft.com microsoft.public.pocketpc.developer
for file and record locking.
>

Did you get an answer ?

PostPosted: Sun Apr 16, 2006 6:45 pm
by Eugeniusz Owsiak
>>> Can You tell me it is posible to lock xBase record on LAN server from
>>> aplication running on Pocket PC with WM 5.0? Have WM 5.0 any file
>>> sharing function?

>> Eugeniusz,
>>
>> WM 5.0 has the LockFileEx function that could be used for that purpose,
>> but there's no native support for reading DBF files. There is a 3rd party
>> solution available from www.codebase.com, but I don't know if they
>> support the scenario you want.
>>
>> --
>> Ginny Caughey
>> .NET Compact Framework MVP
>>
> Thank You Ginny
>
> I use insteed of Codebase solution from FiveTech Software FiveWin for
> Pocket PC. This product is based on Harbour. I cannot get record locking
> on my iPaq with WM 5.0. This is some strange for me because the same
> program rewriten in desktop WinXP environment work properly.
> I am sure Harbour have good solution for menage file and record sharing,
> locking etc.
>
> regards
> Eugeniusz
>
> BTW Codebase is only for single user.
>
Eugeniusz,

It's entirely possible that Harbour does not provide file and record locking
on Windows CE platforms. Support for LockFileEx was only added in CE 5.0,
and in fact CF 2.0 doesn't provide a wrapper for it in the current version.

--
Ginny Caughey
.NET Compact Framework MVP

PostPosted: Sun Apr 16, 2006 11:05 pm
by Antonio Linares
Eugeniusz,

Harbour uses LockFileEx() and it is available from FWPPC. Another issue is if WM 5.0 properly supports it. We may do a test in pure C to build a sample we may provide to Microsoft guys.