본문 바로가기
반응형

SHELLEXECUTEINFO2

[개발/VC++] ShellExecuteEx, CreateProcess, 연결된 프로그램, 디폴트 브라우저 직접 예제를 만들수도 있지만 시간상 핑계로 인터넷에 있던 팁들을 나열했다. Q: I want to bring up the Windows Find window on a particular folder. A: We use the find verb as the operation parameter and we have the Windows Find window open up with the directory we have specified. This can be rather handy if you want to allow users to find some file within some folder. Just ask them for their folder and pop up a Find Window which h.. 2015. 11. 9.
[개발/VC++] 외부프로그램 실행완료 기다리기 [개발/VC++] 외부프로그램 실행완료 기다리기 또는 종료 기다리기 Windows 환경에서 외부 프로그램을 부를 때 종종 ShellExcute 혹은 ShellExcuteEx 또는 WinExec 를 사용한다. 가장 사용방법이 간단한건 ShellExcute와 WinExec 가 있는데 이걸 사용하면 호출한 프로세스가 언제 끝나는지 알 수가 없다. 언제 끝나는지 아는게 중요한 것이 다음과 같은 경우이다. C#에서는 Process 클래스를 사용하면 쉽다. 외부 프로그램이 데이터를 공유하거나 실행순서가 중요할 때에 필요한 방법을 알아보자. 그렇다면 먼저 실행하는 외부프로그램이나 실행하려는 외부프로그램이 종료나 끝나기를 기다려야 하는 경우를 살펴보자. 이를 해결하기 위해서는, First.exe 가 다 끝날때가지 그 .. 2011. 2. 16.
반응형