如何以Delphi呼叫使用不同程式語言(VC++,BCB,VB)開發出來的DLL? |
答題得分者是:william
|
rambo287
一般會員 發表:17 回覆:4 積分:4 註冊:2002-06-07 發送簡訊給我 |
#1
發表時間:2002-11-27 14:40:49
IP:61.219.xxx.xxx 未訂閱
最近工作上有個需求需要以 Delphi 呼叫使用不同程式
語言(VC ,BCB,VB)開發出來的DLL ? 不同程式語言
在呼叫使用上有所差異,型態也不盡相同,有沒有類似的文
章已討論過這個問題,或者有高手提供現成的Solution ? 此問題不解決不行,望善心人士提供解答!!
|
Kuang Cheng
一般會員 發表:11 回覆:25 積分:18 註冊:2002-03-16 發送簡訊給我 |
#2
發表時間:2002-11-27 14:55:13
IP:61.224.xxx.xxx
未訂閱
COM就是為了這個目的而產生的,請參考 Inside COM
Essential COM 這兩本書。
|
william
版主 發表:66 回覆:2535 積分:3048 註冊:2002-07-11 發送簡訊給我 |
#3
發表時間:2002-11-27 14:57:42
IP:147.8.xxx.xxx
未訂閱
I think this topics has been discussed several times before in this forum. As far as I remember, don't use string and use PChar instead in implementing the dll. For Delphi and BCB, classes can be passed according to some limitation but in general try to avoid passing of any class to/from dll.
|
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |