E
emule
Unregistered / Unconfirmed
GUEST, unregistred user!
要调用一vc的dll,他的函数是参数是:<br>char *filename,char *myname<br>其中参数myname是要传出来的<br><br>我这样写对吗?<br>//1.定义<br>TReadMyName = function(filename : pchar; var myname : pchar): integer; stdcall;<br>g_TReadMyName : TReadMyName;<br>//2.<br>var<br> l_filename : array[0..500] of char;<br> l_myname : pchar;<br>if g_TReadMyName(l_filename, l_myname) then<br> showmessage(l_myname);