473,379 Members | 1,245 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,379 software developers and data experts.

What kind of error is it?

Hi,

I have to find an error in application, but my knowledge is probably
too small to do that. The problem is that I cannot debug it because of
nature of error.
The problem is that application close itself (or is closed by Windows)
when its window is visible on the desktop but it is unactive. It works
fine when there are other windows opened, but my application's window
is active one. When I click at other window (no matter if it is other
program or folder) my application dissappear after few seconds (it does
not crash - there is no Windows message about crashing program).
Exception is when I click on child window of this application - then it
still is working. When application is minimalized to taskbar it is
working fine.
I have commented off all references of "DestroyWindow", and "OnOk"
methods, but it did not change anything.
I would like to ask for help anybody who knows where could be the
problem (or at least what kind of error it can be). Thank you for any
ideas.

Kris

Nov 22 '05 #1
3 1280
blackbolek wrote:
Hi,

I have to find an error in application, but my knowledge is probably
too small to do that. The problem is that I cannot debug it because of
nature of error.
The problem is that application close itself (or is closed by Windows)
when its window is visible on the desktop but it is unactive. It works
fine when there are other windows opened, but my application's window
is active one. When I click at other window (no matter if it is other
program or folder) my application dissappear after few seconds (it does
not crash - there is no Windows message about crashing program).
Exception is when I click on child window of this application - then it
still is working. When application is minimalized to taskbar it is
working fine.
I have commented off all references of "DestroyWindow", and "OnOk"
methods, but it did not change anything.
I would like to ask for help anybody who knows where could be the
problem (or at least what kind of error it can be). Thank you for any
ideas.

Kris


All the clues you provide are about Windows programming, but this is a
C++ group. You should ask in comp.os.ms-windows.programmer.win32.

If I were you I would try removing more and more code. When the problem
goes away it will probably be that last thing that you removed that has
the bug.

john
Nov 22 '05 #2
OK. I will try there then. Thanks for directions.

Kris

Nov 22 '05 #3
Ian
blackbolek wrote:
Hi,

I have to find an error in application, but my knowledge is probably
too small to do that. The problem is that I cannot debug it because of
nature of error.
The problem is that application close itself (or is closed by Windows)
when its window is visible on the desktop but it is unactive. It works
fine when there are other windows opened, but my application's window
is active one. When I click at other window (no matter if it is other
program or folder) my application dissappear after few seconds (it does
not crash - there is no Windows message about crashing program).
Exception is when I click on child window of this application - then it
still is working. When application is minimalized to taskbar it is
working fine.
I have commented off all references of "DestroyWindow", and "OnOk"
methods, but it did not change anything.
I would like to ask for help anybody who knows where could be the
problem (or at least what kind of error it can be). Thank you for any
ideas.

Try a windows group, this isn't a C++ problem.

Ian
Nov 22 '05 #4

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

Similar topics

15
by: lkrubner | last post by:
I want to give users the power to edit files from an easy interface, so I create a form and a PHP script called "fileUpdate". It does a reasonable about of error checking and prints out some...
12
by: MFA | last post by:
Hi All Thanks to all who replied to my question dated 16/10/2003 with the same subject.. In all replies I got every one is saying that I am using cint() etc. But i am not using any convert...
1
by: Robert | last post by:
Hello, Is there sombody who can tel me what kind of error this is, and how i can fix it. This is the error: ADODB.Field (0x800A0BCD) Either BOF or EOF is True, or the current record has...
3
by: Odd Bjørn Andersen | last post by:
Every night at 21.30 we perform a full offline database backup. Just before the backup starts we do a db2stop/db2start. After the db2stop there is a message in the db2diag.log, and after the backup...
2
by: Sam | last post by:
In our C++ program, we are using the system call to execute another C++ program synchronously. The program executed by system runs without error and returns back a 0. Under conditions we cannot...
1
by: Philipp Schumann | last post by:
In one of my web developments, the Application_End event occurs several times while a user browses the pages. Because I make use of extensive session tracking and also provide a couple of services...
39
by: ferrad | last post by:
I am trying to open a file for appending. ie. if the file exists, open it for appending, if not, create it. I am getting back a NULL pointer, and do not know why. Here is my code: FILE...
669
by: Xah Lee | last post by:
in March, i posted a essay “What is Expressiveness in a Computer Language”, archived at: http://xahlee.org/perl-python/what_is_expresiveness.html I was informed then that there is a academic...
28
by: gnuist006 | last post by:
I have some code like this: (if (test) (exit) (do something)) or (if (test)
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
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.