Application Verifier reports access violation in call to ShellExecuteEx

前端 未结 1 1881
再見小時候
再見小時候 2021-01-15 12:53

Short Version

Application Verifier says there is an access violation when running the code:

var
   shi: TShellExecuteInfo;
begin
   shi := Default(         


        
1条回答
  •  北恋
    北恋 (楼主)
    2021-01-15 12:59

    As @RaymondChen said, it's a bug in Windows 10.

    • I only encountered it because Application Verifier caught it.
    • it's a one-in-a-million chance that you'd actually ever encounter it in the wild

    Raymond's too modest to accept reputation; so i use his answer as my own.

    0 讨论(0)
提交回复
热议问题