Solved

program Ms-dos and Win95

Posted on 1997-04-15
5
350 Views
Last Modified: 2008-03-17
My name is Gemma, I'm independent programmer and have a problem with a
program that some years ago I wrote for a customer.

The program is written in QuickBasic 3.0 and files indexed Fabs Plus. There
haven't been any problems for years till now. The reason is that the
customer has began to work under a network with 2 posts of work. If the
network is Windows'95 or Windows 3'11 for workgroups, the program doesn't
work; only one post can work, the other one busts. I've tested with Novell
network and it works perfectly all right till version 3.12, but from
version 4.1 or with Netware Lite is doesn't work.
I think that I've tried all existing protocols in all versions, and I don't
know where the problem can be.
I requiere the help of anybody that may had the same problem or have the
time to test it. I attach a small program to be able to do the mentioned
tests.

e-mail: intersoft@readysoft.es



0
Comment
Question by:intersoft
  • 2
  • 2
5 Comments
 
LVL 1

Expert Comment

by:garyh
ID: 1589637
Are you handling record locks or file locks in QB 3.0 or are you using a LIB to handle them? If your using QB 3.0 to handle locks you will need to recompile using QB 4.5 or use a LIB that is network aware. Other wise the only thing you can do is have the second user open the file read only, see your QB 3.0 book on how to do this.
0
 

Author Comment

by:intersoft
ID: 1589638
Thanks, I recompile using QB 7.1 with other LIB, and I have the same problem. I think the problem is in index files, them are type FABS PLUS and the second user in the moment open index files do error the program.

0
 
LVL 1

Expert Comment

by:garyh
ID: 1589639
Flag the indexes and the data files as shareable and see if that helps.
0
 

Author Comment

by:intersoft
ID: 1589640
I do it, flag the indexes and data files, with Netware 3.11 or
Netware 3.12 ok, but not ok in Win95 or Win 3.11
Thanks.

0
 

Accepted Solution

by:
robc042497 earned 100 total points
ID: 1589641
hi

try beefing up your file handles in win311. i came across a similar problem when running a Clipper app under W311.

the error you are getting isnt very clear. if there are actual memory faults, try adding the switch NOVCPI to your emm386 statement.

lastly, netware 4.1 has a +- 10 minute timeout on connections. this causes untold grief when it comes to indexes. if you have some way of disabling caching of indexes within QB, then use it.

good luck. this type of thing is really frustrating, i know :)

0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial shows how to create a greeting card by combining two image layers and a text layer on a PC using a free image editing app.
Adding Computers to AD groups through an SCCM Task Sequence
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question