| | |
FindWindow() won't find the handle I'm looking for
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Feb 2008
Posts: 4
Reputation:
Solved Threads: 0
Hi everyone,
I'm having some trouble with my computer lately. When my computer boots, i want a lot of programs to load, half of them normally makes a tray icon, but my computer is so slow, the tray icons won't be created.
So I've found a way to work around this problem, by making each program start one after another myself, in stead of letting windows take care of it.
But to do so I've only disabled the programs which were located in the start\all programs\startup folder.
Now everything works fine except for one program, which is NOD 32.
This program starts as a service and is then hidden (the gui isn't showed).
For the tray icon to show, i only need it to restore the gui and then hide it again.
I'd like to do it in my program, which I created anyway (for the rest of the startup programs)
So in order to make it work I need to find the handle of NOD32.
But FindWindow() won't get my handle. Is there anyone who knows the handle to nod32kui.exe or how to get it?
Thnx
Willem
I'm having some trouble with my computer lately. When my computer boots, i want a lot of programs to load, half of them normally makes a tray icon, but my computer is so slow, the tray icons won't be created.
So I've found a way to work around this problem, by making each program start one after another myself, in stead of letting windows take care of it.
But to do so I've only disabled the programs which were located in the start\all programs\startup folder.
Now everything works fine except for one program, which is NOD 32.
This program starts as a service and is then hidden (the gui isn't showed).
For the tray icon to show, i only need it to restore the gui and then hide it again.
I'd like to do it in my program, which I created anyway (for the rest of the startup programs)
So in order to make it work I need to find the handle of NOD32.
But FindWindow() won't get my handle. Is there anyone who knows the handle to nod32kui.exe or how to get it?
Thnx
Willem
C++ Syntax (Toggle Plain Text)
HWND nod = FindWindow(NULL, "nod32kui.exe"); ShowWindow(nod, SW_RESTORE); ShowWindow(nod, SW_HIDE);
![]() |
Similar Threads
- Memory Search Slow (C++)
- How Do I Locate A Color? (C++)
- DLL injection (C)
- Stopping Hardware (Visual Basic 4 / 5 / 6)
Other Threads in the C++ Forum
- Previous Thread: What's wrong with my program?
- Next Thread: Iteration vs recursion
| Thread Tools | Search this Thread |
Tag cloud for C++
api application array arrays assignment beginner binary bitmap c++ c/c++ calculator char char* class classes code coding compile compiler console conversion convert count data database delete developer display dll email encryption error file forms fstream function functions game generator getline givemetehcodez graph homeworkhelper iamthwee ifstream image input int java lazy lib loop looping loops map math matrix memory multidimensional multiple newbie news node number numbertoword output parameter pointer problem program programming project proxy python random read recursion recursive reference return sorting string strings struct template templates text tree url variable vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets






