随笔 - 314  文章 - 1 评论 - 127 阅读 - 135万
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

03 2013 档案
python调用Delphi写的Dll
摘要:Delphi单元如下(输出hello.dll):unit hellofun;interfacefunction getint():integer;stdcall;function sayhello(var sname:PAnsiChar):PAnsiChar;stdcall;implementationfunction getint():integer;stdcall;begin result:=888;end;function sayhello(var sname:PAnsiChar):PAnsiChar;stdcall;begin sname:='ok!'; result: 阅读全文
posted @ 2013-03-15 19:03 garfieldtom 阅读(2423) 评论(2) 推荐(0) 编辑

点击右上角即可分享
微信分享提示