請問如何安裝Cport263... |
尚未結案
|
bt1
一般會員 發表:38 回覆:14 積分:10 註冊:2003-06-26 發送簡訊給我 |
|
hagar
版主 發表:143 回覆:4056 積分:4445 註冊:2002-04-14 發送簡訊給我 |
解壓之後, 有個 readme.txt 檔, 底下的是其中關於安裝的一段:
6. Installation
---------------------------------------------------------------------
Remove all previously installed files of ComPort Library (TComPort
component). Create a new folder under Delphi directory and extract
Sources zip file into new folder. Set Library Path to new ComPort
folder (Tools-Environment Options-Library-Library Path).
For Delphi 3, 4, 5, 6 & C Builder 4, 5:
(C Builder users also need to read the C Builder notes)
Use "File/Open" menu item in Delphi/C Builder IDE to open
ComPort run-time package source file (see above). Click "Compile"
button in Package window to compile the library. Now move run-time
package library file or files (see above) from ComPort folder to a
folder that is accessible through the search PATH (e.g. WinNT\System32).
Now you have to install design-time package. Use File/Open menu item
to open design-time package source file (see above). Click "Compile"
button in Package window to compile the package and "Install" button
to register ComPort into the IDE. ComPort components appear in
"CPortLib" page of component pallete. If it complains that it
can't install it because it can't find a library, you probably
did not put the run-time package in the search path. You might
not get this error until the next time you try to start
Delphi/C Builder.
Note: Do not save packages under Delphi/C Builder IDE. ---
--<-<-<@
|
bt1
一般會員 發表:38 回覆:14 積分:10 註冊:2003-06-26 發送簡訊給我 |
|
bt1
一般會員 發表:38 回覆:14 積分:10 註冊:2003-06-26 發送簡訊給我 |
|
bt1
一般會員 發表:38 回覆:14 積分:10 註冊:2003-06-26 發送簡訊給我 |
請問一下我安裝步驟如下: step1:把cport263解壓要C:\Program Files\Borland\CBuilder5 step2:解壓source,並執行資料夾內的CPortLibCB5.bpk,編譯後會在 C:\Program Files\Borland\CBuilder5\Projects\Lib 下產生
CportLibCB5.bpi和CportLibCB5.lib兩檔案copy到C:\windows\sysytem
step3:解壓source,並執行資料夾內的DsgnCPortCB5.bpk,編譯後會在 C:\Program Files\Borland\CBuilder5\Projects\Lib 下產生
DsgnCPortCB5.bpi和DsgnCPortCB5.lib兩檔案copy到C:\windows\sysytem
step4:關掉BCB5,並且不要儲存剛安裝的檔案. step5:重開BCB5 安裝完,我在BCB5新開一檔案寫一個comport1送字串,結果出現下列錯誤:
[C Error] Unit1.h(10): E2209 Unable to open include file 'CPort.h' 為什麼會找不到CPort.h檔?我用搜索檔案去找整個電腦都沒有CPort.h檔..為什麼?
|
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |