Article View: comp.os.msdos.programmer
Article #131File sharing problem - help!
From: Dave Bushong
Date: Tue, 03 Nov 1992 18:42
Date: Tue, 03 Nov 1992 18:42
23 lines
1317 bytes
1317 bytes
I have a program that writes to a "log" file on a Novell file server, and another program (on a different PC) that reads this log file watching for status. I open the file using sopen() in both cases, and loaded SHARE.EXE on both PCs also. The programs work fine when I use MS Quick 'C' for Windows, but when it's re-compiled under C6.0A, there is a "Sharing Violation" reported by Windows (the application that reads the file is a Windows app). It appears that there is a difference in the runtime support of file functions between the two packages. Has anyone seen this? Or anyone have ideas? Thanks! Dave p.s. One of the programmers around here suggested that I use OpenFile() instead; that might be OK, but I'd like to know what's wrong with using sopen() while I'm at it. -- Dave Bushong, Wang Laboratories, Inc. Amateur Radio Callsign KZ1O Project Leader, OCR products kz1o@n0ary.#noca.ca.na Internet: dbushong@wang.com
Technical Details
Message-ID:
<Bx5LAn.EKM@wang.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!das.wang.com!wang!dbushongShow Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!das.wang.com!wang!dbushong From: dbushong@wang.com (Dave Bushong) Subject: File sharing problem - help! Organization: Wang Labs, Lowell MA, USA Date: Tue, 3 Nov 1992 18:42:22 GMT Message-ID: <Bx5LAn.EKM@wang.com> Followup-To: busko@office.wang.com,dbushong@wang.com Lines: 23