G
gzrencom
Unregistered / Unconfirmed
GUEST, unregistred user!
var
resource:Thandle;
resource1:Thandle;
hRes:Thandle;
resource:=loadlibrary('EDCReSource.dll');
resource1:=FindResource(resource,'MOFindfile','AVI');
if resource1>32 then
Animate2.ResHandle:=resource1;
animate2.Active:=true;
end;
在运行时候出错(error:can not open avi)
------
后来我加上
resource:=loadlibrary('EDCReSource.dll');
resource1:=FindResource(resource,'MOFindfile','AVI');
hRes:=LoadResource(HInstance,hResInfo);
if hRes>32 then
Animate2.ResHandle:=hRes;
animate2.Active:=true;
end;
在运行中还是出错(error:can not open avi)
------------------
请指教!
resource:Thandle;
resource1:Thandle;
hRes:Thandle;
resource:=loadlibrary('EDCReSource.dll');
resource1:=FindResource(resource,'MOFindfile','AVI');
if resource1>32 then
Animate2.ResHandle:=resource1;
animate2.Active:=true;
end;
在运行时候出错(error:can not open avi)
------
后来我加上
resource:=loadlibrary('EDCReSource.dll');
resource1:=FindResource(resource,'MOFindfile','AVI');
hRes:=LoadResource(HInstance,hResInfo);
if hRes>32 then
Animate2.ResHandle:=hRes;
animate2.Active:=true;
end;
在运行中还是出错(error:can not open avi)
------------------
请指教!