Solved

borland c++ builder aplication on taskbar

Posted on 2000-05-05
4
316 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…

758 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

23 Experts available now in Live!

Get 1:1 Help Now