Socket on Windows Server 2000

Postby Antonio Linares » Tue Apr 11, 2006 4:58 pm

Eugeniusz,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42113
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Eugeniusz Owsiak » Tue Apr 11, 2006 6:11 pm

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
User avatar
Eugeniusz Owsiak
 
Posts: 60
Joined: Fri Oct 07, 2005 5:38 am
Location: Poland

Postby Antonio Linares » Tue Apr 11, 2006 7:14 pm

Eugeniusz,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42113
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Eugeniusz Owsiak » Wed Apr 12, 2006 5:09 am

Antonio,
There was nothing in description. :(
Regards
Eugeniusz
User avatar
Eugeniusz Owsiak
 
Posts: 60
Joined: Fri Oct 07, 2005 5:38 am
Location: Poland

Postby Antonio Linares » Fri Apr 14, 2006 7:33 am

Eugeniusz,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42113
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Eugeniusz Owsiak » Fri Apr 14, 2006 8:56 am

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
User avatar
Eugeniusz Owsiak
 
Posts: 60
Joined: Fri Oct 07, 2005 5:38 am
Location: Poland

Postby Antonio Linares » Fri Apr 14, 2006 6:29 pm

Eugeniusz,

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

Did you get an answer ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42113
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Eugeniusz Owsiak » Sun Apr 16, 2006 6:45 pm

>>> 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
User avatar
Eugeniusz Owsiak
 
Posts: 60
Joined: Fri Oct 07, 2005 5:38 am
Location: Poland

Postby Antonio Linares » Sun Apr 16, 2006 11:05 pm

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42113
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Previous

Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 15 guests