Solved

borland c++ builder aplication on taskbar

Posted on 2000-05-05
4
319 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
  • 2
  • 2
4 Comments
 
LVL 6

Accepted Solution

by:
DrDelphi earned 50 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
maze travler 6 51
Implementing a ResolveEventHandler in C++ 13 116
ASP.net build a IF/Then Walkthrough Guide 1 191
VS2015 Redefinition errors 4 29
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…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

920 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now