摘要:
delphi编写dll心得1。每个函数体(包括exports和非exports函数)后面加 'stdcall;', 以编写出通用的dll2。exports函数后面必须加'export;'(放在'stdcall;'前面)3。对于非exports函数可以使用string类型,而且建议使用string类型进行参数传递4。对于exports函数请使用PChar类型做参数传递5。如果exports调用其他函数,建议在exports函数体内使用变量过渡,然后再调用其他函数; 也就是说:尽量不要把exports的参数再作为参数调用其他函数。6。exports函 阅读全文
posted @ 2013-09-27 17:45 ╰★张志峰★╮ 阅读(5246) 评论(0) 推荐(0)
浙公网安备 33010602011771号