Solved

borland c++ builder aplication on taskbar

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
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 viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

749 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