線上訂房服務-台灣趴趴狗聯合訂房中心
發文 回覆 瀏覽次數:1399
推到 Plurk!
推到 Facebook!

請教在delphi中SHFileOperation這個涵數的一些相關觀念問題

尚未結案
huangeider
高階會員


發表:288
回覆:492
積分:231
註冊:2003-02-26

發送簡訊給我
#1 引用回覆 回覆 發表時間:2003-11-03 04:02:48 IP:61.231.xxx.xxx 未訂閱
1 API是啥? 2 SHFileOperation是涵數還是API? 3 查了delphi windows SDK中SHFileOperation的說明沒查到要使用shellapi  的說明,不知如何得知要使用shellapi.因為若查delphi help的tedit等元件,會有Unit StdCtrls等的說明,而windows SDK這裏對如SHFileOperation這個東東 就查不到有明確要使用shellapi的說明,是否另有其他的說明? 4 在說明中對以下的 SHFileOperation說明中   有說到兩個XXXAPI(WINSHELLAPI 和WINAPI)   這兩個XXXAPI和win32api有關連嗎?(重覆1的問題API是啥東東?)   
   WINSHELLAPI int WINAPI SHFileOperation(
    LPSHFILEOPSTRUCT lpFileOp
    ); 
「堅持」從洗馬桶做起 Aric
hagar
版主


發表:143
回覆:4056
積分:4445
註冊:2002-04-14

發送簡訊給我
#2 引用回覆 回覆 發表時間:2003-11-03 08:10:27 IP:202.39.xxx.xxx 未訂閱
1.Application Program Interface  (API, or "application programming interface") The interface (calling conventions) by which an application program accesses operating system and other services. An API is defined at source code level and provides a level of abstraction between the application and the kernel (or other privileged utilities) to ensure the portability of the code.  An API can also provide an interface between a high level language and lower level utilities and services which were written without consideration for the calling conventions supported by compiled languages. In this case, the API's main task may be the translation of parameter lists from one format to another and the interpretation of call-by-value and call-by-reference arguments in one or both directions.  2.是函數(function), 也是 API 3.大部份可以這樣看, 開啟了 Windows SDK help 找到該 API 後 在該 API 名稱後有個 Quick Info 的按鈕 點選它, 可找到一個 Header File 的項目 以 SHFileOperation 為例, 它的 Header File 是 shellapi.h 在 delphi 內就是 shellapi.pas 4.這個就不會解釋了 ---
huangeider
高階會員


發表:288
回覆:492
積分:231
註冊:2003-02-26

發送簡訊給我
#3 引用回覆 回覆 發表時間:2003-11-05 01:18:52 IP:61.231.xxx.xxx 未訂閱
「堅持」從洗馬桶做起
系統時間:2024-06-26 23:39:55
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!