What kind of error is it?

B

blackbolek

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
 
J

John Harrison

blackbolek said:
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
 
I

Ian

blackbolek said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top