|
VB 6 ShellExecuteEx не возвращает hProcess
|
|||
---|---|---|---|
#18+
Здравствуйте. с помощью ShellExecuteEx пытаюсь запустить процесс, процесс успешно запускается и выполняет свою работу,но HProcess остается равен = 0 Код: vbnet 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32. 33. 34. 35. 36. 37. 38. 39. 40. 41. 42. 43. 44.
в чем может быть проблема? ... |
|||
:
Нравится:
Не нравится:
|
|||
14.07.2019, 12:17 |
|
VB 6 ShellExecuteEx не возвращает hProcess
|
|||
---|---|---|---|
#18+
surbanecно HProcess остается равен = 0 в чем может быть проблема? SHELLEXECUTEINFOA structure SEE_MASK_NOCLOSEPROCESS (0x00000040)Use to indicate that the hProcess member receives the process handle. This handle is typically used to allow an application to find out when a process created with ShellExecuteEx terminates. In some cases, such as when execution is satisfied through a DDE conversation, no handle will be returned. The calling application is responsible for closing the handle when it is no longer needed. Код: vbnet 1.
На, лови. Сравнишь, родишь. Код: vbnet 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32. 33. 34. 35. 36. 37. 38. 39. 40. 41. 42. 43. 44. 45. 46. 47. 48. 49. 50. 51. 52. 53. 54. 55.
Код: vbnet 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32. 33. 34. 35. 36. 37. 38. 39. 40. 41. 42.
... |
|||
:
Нравится:
Не нравится:
|
|||
15.07.2019, 03:21 |
|
|
start [/forum/topic.php?fid=60&fpage=6&tid=2154899]: |
0ms |
get settings: |
12ms |
get forum list: |
14ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
31ms |
get topic data: |
14ms |
get forum data: |
2ms |
get page messages: |
46ms |
get tp. blocked users: |
2ms |
others: | 266ms |
total: | 395ms |
0 / 0 |