473,385 Members | 1,445 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Checking who terminate app...

Hello everone! =)
I'm using BDS 2006 as compiler and writing with VCL.
idk how to check who close form user or system?
If user do it I will minimize programm and if system - close.
Please give me a piece of code that do so check.
Thanks you a lot.

Feb 23 '07 #1
4 1217
On 23 Feb, 08:35, AvePass...@gmail.com wrote:
Hello everone! =)
I'm using BDS 2006 as compiler and writing with VCL.
idk how to check who close form user or system?
If user do it I will minimize programm and if system - close.
Please give me a piece of code that do so check.
Thanks you a lot.
You can't do that using standard C++ so you're off-topic here. You'll
need to use features specific to your OS, so you'll need to ask in an
OS-specific group. Suggestions here:

http://www.parashift.com/c++-faq-lit...t.html#faq-5.9

Gavin Deane

Feb 23 '07 #2
On 23 ΖΕΧ, 14:06, "Gavin Deane" <deane_ga...@hotmail.comwrote:
On 23 Feb, 08:35, AvePass...@gmail.com wrote:
Hello everone! =)
I'm using BDS 2006 as compiler and writing with VCL.
idk how to check who close form user or system?
If user do it I will minimize programm and if system - close.
Please give me a piece of code that do so check.
Thanks you a lot.

You can't do that using standard C++ so you're off-topic here. You'll
need to use features specific to your OS, so you'll need to ask in an
OS-specific group. Suggestions here:

http://www.parashift.com/c++-faq-lit...t.html#faq-5.9

Gavin Deane
Oh, I'm very sorry.
Can moderator move my topic?

Feb 23 '07 #3
On 23 Feb, 15:55, AvePass...@gmail.com wrote:
On 23 ΖΕΧ, 14:06, "Gavin Deane" <deane_ga...@hotmail.comwrote:
On 23 Feb, 08:35, AvePass...@gmail.com wrote:
Hello everone! =)
I'm using BDS 2006 as compiler and writing with VCL.
idk how to check who close form user or system?
If user do it I will minimize programm and if system - close.
Please give me a piece of code that do so check.
Thanks you a lot.
You can't do that using standard C++ so you're off-topic here. You'll
need to use features specific to your OS, so you'll need to ask in an
OS-specific group. Suggestions here:
http://www.parashift.com/c++-faq-lit...t.html#faq-5.9
Gavin Deane

Oh, I'm very sorry.
Can moderator move my topic?
This is an unmoderated usenet group. There is no moderator and no
concept of moving your thread to a different group.

You know which OS you are programming. Did you look at the FAQ link I
posted for a newsgroup that discusses programming for that OS? When
you find an appropriate group, you need to post your question there
instead.

Gavin Deane

Feb 23 '07 #4
I did this.
Sorry, I didn't read FAQ.

Feb 23 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: abovetreeline | last post by:
Hi, How to make javascript terminate a win32_process? vbscript will terminate a named process with the following code: strcomputer = "." Set objwmiservice = GetObject("winmgmts:" _ &...
9
by: liangbowen | last post by:
As i konw, the only way to to terminate a thread started by _beginthread() is to user _endthread() (or return) inside the thread. now i started a thread(TodoThread), and created a listenning...
99
by: Mikhail Teterin | last post by:
Hello! Consider the following simple accessor function: typedef struct { int i; char name; } MY_TYPE; const char *
4
by: Dr. J | last post by:
How to terminate a blocked thread? In my form's "load" I launch a TCP listening thread that stays in an infinite loop waiting for incoming TCP packets. In this form's "closing" I try to...
3
by: Keith Grefski | last post by:
I cant seem to figure out how to terminate a process in vb.net i can do it using vbscript and wmi but terminate doesnt seem to exist in the available classes for wmi under vb.net
3
by: Peter Neuburger via .NET 247 | last post by:
(Type your message here) -------------------------------- From: Peter Neuburger Hi Everybody, I need some help with the WMI Terminate Method. I have a Listbox where I get all the Process...
7
by: fyi85 | last post by:
I have 8.1.5 on Windows 2003, when I do from CLP with auto commit off: db2 update table set column=something and then db2 terminate and then db2 connect to db db2 select updated column from...
2
by: Mike | last post by:
Hello, Ok I have 2 classes in my project, one is the main form and one is a connection class, at a certain event on my main form a new instance is made of the connection class, and a reference...
125
by: jacob navia | last post by:
We hear very often in this discussion group that bounds checking, or safety tests are too expensive to be used in C. Several researchers of UCSD have published an interesting paper about this...
1
by: Justin | last post by:
We had a load that failed. Now we have a pending load. When executing load terminate, we receive the following error: db2 load terminate SQL0104N An unexpected token "terminate" was found...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.