全國最多中醫師線上諮詢網站-台灣中醫網
發文 回覆 瀏覽次數:1024
推到 Plurk!
推到 Facebook!

upgrade to D7

答題得分者是:william
KFC
一般會員


發表:43
回覆:73
積分:23
註冊:2003-03-27

發送簡訊給我
#1 引用回覆 回覆 發表時間:2003-04-09 19:22:55 IP:210.77.xxx.xxx 未訂閱
我升级到D7后,发现在编译旧版程序时出现警告 [Warning] test.dpr(40): Unsafe type 'Pointer' [Warning] test.dpr(88): Unsafe type 'lpExt: PAnsiChar' [Warning] test.pas(199): Unsafe type 'PChar' 请问我应该用什么样的类型去取代这些类型才对? 而在D6中写的一个DLL中,编译时出现 [Warning] mydll.dpr(412): Symbol 'INDEX' is specific to a platform 而我的输出部分为 exports OnStart index 1, OnExit index 2; 请问不用index可以用什么来取代?
william
版主


發表:66
回覆:2535
積分:3048
註冊:2002-07-11

發送簡訊給我
#2 引用回覆 回覆 發表時間:2003-04-15 14:52:46 IP:147.8.xxx.xxx 未訂閱
引言: 我升级到D7后,发现在编译旧版程序时出现警告 [Warning] test.dpr(40): Unsafe type 'Pointer' [Warning] test.dpr(88): Unsafe type 'lpExt: PAnsiChar' [Warning] test.pas(199): Unsafe type 'PChar' 请问我应该用什么样的类型去取代这些类型才对? These warnings are due to M$ .NET support in D7. You can turn this kind of warning off in Project|Options|Compiler Messages. 而在D6中写的一个DLL中,编译时出现 [Warning] mydll.dpr(412): Symbol 'INDEX' is specific to a platform 而我的输出部分为 exports OnStart index 1, OnExit index 2; 请问不用index可以用什么来取代? This warning is due to support of CLX. You can also turn this off.
系統時間:2024-05-20 15:59:49
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!