I wanna make my own window explorer.
I run every executable files (EXEs) with WINEXEC statement.
The question is that I can't close the program I've called with WinExec. Any experts know how to do it?
First, I've used "FindWindow" (API function) to get the window handle.
Second, I've used "CloseWindow" (API function), but it's just minimized.
Third, I've used "DestroyWindow" (API function), but when I called GetLastError, it returned error number 126 which indicated that the module does not exist.
How to solve this problem?
Thanks for the attention,