wine and network files sharing

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
evosoft
Newbie
Newbie
Posts: 2
Joined: Fri Jan 15, 2010 4:55 am

wine and network files sharing

Post by evosoft »

We have a Windows application that uses shared archive files in local network: one computer acts as server and stores the physical archive files and all clients connect to that server with samba for directly reading and writing archive files in multiple access.

For file managing the application uses the Windows API:
CreateFile, CloseHandle, LockFile, UnlockFile, SetFilePointer, ReadFile, WriteFile, FlushFileBuffers.

We tried to run this application by Windows and wine 1.0.1 on some linux (fedora e ubuntu) and macosx clients and we got data corruption.
We noted that wine caches data locally and overrides data updated by other clients.
We dislike this behaviour very much because the rest of application functionalities work very fine (except some small GUI issues): this Windows application has about 200,000 code lines.

Is anybody that can help us?

Thanks in advance


Paolo Bagnoli
oiaohm
Level 8
Level 8
Posts: 1020
Joined: Fri Feb 29, 2008 2:54 am

Post by oiaohm »

Try newer version of wine. 1.0.1 is very old compared to the development version. There is no point us trying to trace down this bug if its already fixed in the development tree.
evosoft
Newbie
Newbie
Posts: 2
Joined: Fri Jan 15, 2010 4:55 am

Post by evosoft »

Thanks for your quick reply.
We also tried with Wine Development 1.1.36 but got same bad results.

Any other suggestions?
jorl17
Level 5
Level 5
Posts: 365
Joined: Mon Jul 28, 2008 6:44 pm

Post by jorl17 »

If you are a programmer, then maybe you should drop by IRC and discuss your app, to see if anything can be done. Of course, this all depends on legal issues :)

Cheers,

Jorl17
Locked