Finding a process by name is a rather lenghty operation (you must go through EnumWindows [^]). Perhaps a better option would be storing the process handle (if application A starts application B via CreateProcess [^] then A may store the B process handle) and call GetExitCodeProcess [^] when needed.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
i need to create a new folder with some content, and after them make them to zip folder.
Is there any way to do this programatical, from a c++ program, how to do this, i know how to make a normal folder, but not how to make/change them to zip folder!!
I'll tell you that the "WinMain" is held within MFC's CxxxxApp object.
The other questions you can answer for yourself.
1/ Make a shiny new dialog application.
2/ Go to all the places you are asking about, and put a breakpoint there.
3/ Get a pen and paper.
4/ Run the program, and take notes on the order things happen.
5/ Impress your friends and relatives with the exciting tale of how you enhanced your knowledge.
6/ Have a
7/ Repeat 6 - it's the most important step.
I have now moved to Sweden for love (awwww).
If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), or need cotract work done, give me a job! http://cv.imcsoft.co.uk/[^]
I am new to windows programming.
I want to know the detailed relationship between Application,
Dialog, View, Document, Frame etc containers and the sequence of these loading.
Can you please suggest me some reference for it.