ShellExecute(handle,'open',PCHAR('calc.exe'),nil,PCHAR('c:\windows\system32\'),SW_SHOWNORMAL);
请问"handle"是代码是什么意思?
"pchar"是什么意思,
谢谢!

解决方案 »

  1.   

    hwndSpecifies a parent window. This window receives any message boxes that an application produces. For example, an application may report an error by producing a message box.A PChar is a pointer to a null-terminated string of characters of the type Char. Each of the three character types also has a built-in pointer type:A PChar is a pointer to a null-terminated string of 8-bit characters.
    A PAnsiChar is a pointer to a null-terminated string of 8-bit characters.
    A PWideChar is a pointer to a null-terminated string of 16-bit characters.PChars are, with short strings, one of the original Object Pascal string types. They were created primarily as a C language and Windows API compatibility type.
      

  2.   

    handle是句柄。
    pchar是字符串指针。
      

  3.   

    handle是句柄,一般是和某个对象相联系的.
    pchar是字符串指针哈