Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

borland c++ builder aplication on taskbar

Posted on 2000-05-05
4
Medium Priority
?
344 Views
Last Modified: 2012-06-27
What can i do to prevent an aplication that was run and completed succesfully not to leave a blank aplication on the task bar in windows.
0
Comment
Question by:whataboutthis
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 6

Accepted Solution

by:
DrDelphi earned 150 total points
ID: 2780153
There are a few different possible causes of this.

1.Do you have a thread running in your application that is not terminated at the time you close the app?

2. Do you have any dynamically created forms (not autocreated in the application) which you have hidden , but not released (freed)?

3. Do you use the CreateWindow or createwindowEX API anywhere in the app? Failing to release a window using these will do that as well.



Good luck!!
0
 

Author Comment

by:whataboutthis
ID: 2780226
1. all my threads are killed bofore termination
2. hmmm........   stupid me
0
 

Author Comment

by:whataboutthis
ID: 2780274
i'f checked points 1 and 2 again and all of them are satisfied, but i still get that problem. And i'm not using that Create functions. What else could cause this?

What do you meen with free?
0
 
LVL 6

Expert Comment

by:DrDelphi
ID: 2781735
The recommended way to relinquish forms in the VCL is using Release, but with just about all other TObject descandents it is Free. This is why I made a note of mentioning it. Can you give me an example of a scaled down simple project that leaves the button on the taskbar?

-DrDelphi
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

610 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