D dai_wei Unregistered / Unconfirmed GUEST, unregistred user! 2009-09-23 #1 Delphi 调用VC写的DLL,但函数接口有参数类型是OleVariant,请问Delphi如何把一个字符串转成OleVariant类型,与Dll保持一致.
D de410 Unregistered / Unconfirmed GUEST, unregistred user! 2009-09-23 #2 直接赋值给OleVariantvar oltlevariant; s:string;begin s:='sdfsdf'; olt:=s;end;