CompuServe Thread

#OpenFile/SHARE/Serial #

2 messages in this thread
#30648From: Brian KuJul 12, 1994 5:40 AM
Hi Gary, > I've written a multi-product installation/setup program that uses > OpenFile to open a file called A:\DISK1.INF that contains installation > scripts. Each product must contain A:\DISK1.INF on its first > diskette. Here's where it gets weird. I have two identical sets of > installation diskettes except that one set has volumn serial numbers > (written by DOS FORMAT) and the other set does not. When SHARE is > loaded and in use, the set of diskettes with the volumn serial numbers > will not install. It has opened and read the first A:\DISK1.INF but > when it comes to the next A:\DISK1.INF, OpenFile is returning 0x0003 > (path not found) in the OFSTRUCT. If SHARE is not loaded, both sets > of diskettes work great. Why is OpenFile failing with 0x0003 when > SHARE is loaded and the diskettes contain volumn serial numbers???? > I've tried using various combinations of OF_SHARE_xxxx but to no > avail. I'm not sure why you're running into this problem. Could it be that you need to flush the buffer or increase the File handles? The WinSDK forum would be a more appropriate place to post this question. Sincerely, Brian Ku -Microsoft Developer Support
#30652From: Gary D. ShankJul 12, 1994 6:28 AM
I also sent this message to the SDK forum, but since the application is a MFC app, I thought I'd post it here as well. Its not a file handle problem, I've got FILES=100 in config.sys and I also used SetHandleCount(60). What is really weird, is that I cannot duplicate the problem with a test program. Only this application, for some reason, has this problem, and I can't figure out what could be causing it. Gary