Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Clipper program freezes for 15 minutes: the solution

Status
Not open for further replies.

georgefiu

Programmer
May 7, 2008
8
0
0
IT
thread288-1471571

The solution.

Sorry for my long silence, but I was looking around for Clipper 5.2e.
An year ago I've found it, but using it nothing changed.
But some months ago I noticed that on a little netbook with XP Home the freezing didn't start.
but on a notebook and on a desktop with the same version of XP Home the freezing started again after 3-10 minutes.
So i asked to myself "What's the difference beetween a netbook and a desktop or notebook ?".

The answer is "no parallel port on a netbook".

At the start of my program I test the parallel port with the function ISPRINTER () before sending a printer reset command.
But in these last years I don't use a parallel port printer, but only USB printers, so the parallel port is empty (but I repeat, without any problem on win98SE) .

Disabling the function ISPRINTER () the freezing doesn't start !!!

In the other parts of my program the ISPRINTER () function is called only if an user option USE_LPT1 is set to True.

Thanks for your helps, friends, and sorry again for my bad english !

Bye
GeorgeFiu

 
Hi George

Wow, good to know after all this time.
Thanks for posting back - it may help someone else.

Jock
 
Hi Jock
Yes, I hope that it's useful for someone else.

I 've tested the program on a PC with Vista Home Basic and it runs ok.

Thanks again Jock !
Bye

GeorgeFiu
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top