E
emitsong
Unregistered / Unconfirmed
GUEST, unregistred user!
AVICOMPRESSOPTIONS opts;
AVICOMPRESSOPTIONS FAR * aopts[1] = {&opts};
PAVISTREAM ps = NULL,
AVISaveOptions(NULL, 0, 1, &ps, (LPAVICOMPRESSOPTIONS FAR *) &aopts))
翻译后
var
ps:IAVISTREAM;
opts:TAVICOMPRESSOPTIONS;
aoptsAVICOMPRESSOPTIONS;
//指针型 ^TAVICOMPRESSOPTIONS;
begin
aopts:=@opts;
AVISaveOptions(null,0,1,ps,aopts);
老是报类型转换错误
请高手指教
AVICOMPRESSOPTIONS FAR * aopts[1] = {&opts};
PAVISTREAM ps = NULL,
AVISaveOptions(NULL, 0, 1, &ps, (LPAVICOMPRESSOPTIONS FAR *) &aopts))
翻译后
var
ps:IAVISTREAM;
opts:TAVICOMPRESSOPTIONS;
aoptsAVICOMPRESSOPTIONS;
//指针型 ^TAVICOMPRESSOPTIONS;
begin
aopts:=@opts;
AVISaveOptions(null,0,1,ps,aopts);
老是报类型转换错误
请高手指教