R rainman2008 Unregistered / Unconfirmed GUEST, unregistred user! 2002-05-11 #1 遇到一个dll,其中头文件包含: struct MsgContent *get_ChangeContent(struct Msg *msg); 如何转化成pas
U ugvanxk Unregistered / Unconfirmed GUEST, unregistred user! 2002-05-11 #2 ms:^msg; msgcon:^msgcontent; funtion getchangecontent(m:ms):msgcon:
R rainman2008 Unregistered / Unconfirmed GUEST, unregistred user! 2002-05-12 #3 谢谢! 再请教主程序如何调用这个函数?我调用的时候出现异常错误 var m: ^msg; Mymsgcon: ^mscontent; new(Mymsgcon); Mymsgcon.a := getchangecontent(m).a; Mymsgcon.b := getchangecontent(m).b; .. dispose(Mymsgcon);
谢谢! 再请教主程序如何调用这个函数?我调用的时候出现异常错误 var m: ^msg; Mymsgcon: ^mscontent; new(Mymsgcon); Mymsgcon.a := getchangecontent(m).a; Mymsgcon.b := getchangecontent(m).b; .. dispose(Mymsgcon);
S Sachow Unregistered / Unconfirmed GUEST, unregistred user! 2002-05-13 #4 var s: Msg; mm: MsgContent; begin mm := GetChangeContent(@s)^; ShowMessage(IntToStr(mm.a)+','+IntToStr(mm.b)); end;
var s: Msg; mm: MsgContent; begin mm := GetChangeContent(@s)^; ShowMessage(IntToStr(mm.a)+','+IntToStr(mm.b)); end;