Link to home
Start Free TrialLog in
Avatar of thomaspeter
thomaspeter

asked on

Black Screen when leaving TP 6.0 programm

I have created a link from my win 98 desktop to a TP 6.0 DOS programm.
The DOS programm is working correct.
When I finish the DOS programm in normal way, my screen get black and I have to restrart my PC.
This problem is not every time I finish the programm.


What can I do to solve the problem.
Avatar of scrapdog
scrapdog
Flag of United States of America image

When inside TP 6, press ALT-ENTER to put the screen in a window.  To close it, click on the Close button (the Windows one).
Avatar of lgui
lgui

First of all you must know if it's a problem of your program, your computer or your Win98 installation.

Do this:
- Install your program in another machine.
- Run it several times and see if the new computer freezes too.

If not:
- Try reinstall your Win98;
If the new computer freezes too:
- Try find on your code if you make some direct access to the memory or if you did not release some resources that you have previously allocated.

I hope help you.
Avatar of thomaspeter

ASKER

The problem occurs on different PCs.
I think it is a win 98 problem. Problably it is a problem of active desktop in win98.
Have you tested it on Win95 and DOS machines?

But, as you sad it don't happens every time you run the program, so you need to test sometimes.

Try an upgrade to win98 SE too.

If you want you can send me the source to take a look and test it.

lgui@epade.com.br
ASKER CERTIFIED SOLUTION
Avatar of VIBESPRO
VIBESPRO
Flag of Antigua and Barbuda image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thank you for the answer.

you have sent me the standard properties to start a dos programm.

I am working 3 years on a win 95 machine
without any problem.


But the properties do not work on every win 98 system. probably there is a problem with the win 98 network.
ok.. try updating Windows 98 and check out microsoft for more information..

when I installed Windows 98 SE I had now problems until I tried to restart in DOS..  My computer went into dos mode but my monitor went blank.  I got an update that corrected it.  

The best answer anyone can give is to check www.microsoft.com  for more information...  I'm sure you will fine your answer there.. ;)