?
Solved

borland c++ builder aplication on taskbar

Posted on 2000-05-05
4
Medium Priority
?
340 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
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 how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
Suggested Courses

765 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