I have an application writted in PBDLL 6.0 that opens a file FOR OUTPUT and writes to it using PRINT. This appliction runs on a NOVELL network. On some computers the file gets written out fine, on others, a few bytes get written (maybe 2000 bytes or so) and then the program hangs. It seems to be that the faster the PC and the more memory, the less the chance it will hang. One thing I thought of after I left client site was that maybe I should use FLUSH after PRINT; currently using no FLUSH statements. The longest PRINT string would be maybe 150 bytes. One thing I did while on site was to put MSGBOX stmt after each PRINT so that I had to click "OK" after each PRINT stmt, and it worked fine on the machines it had hung on. That made me think that maybe that was slowing things down and machine had opportunity to flush buffers. Of course I wasn't smart enough to think of that while still on site!
Any help much appreciated.
Any help much appreciated.
Comment