H
houfuzhu1982
Unregistered / Unconfirmed
GUEST, unregistred user!
procedure TForm1.Button1Click(Sender: TObject);
var FunH,capWinH:THandle;
capCreateCaptureWindow:function(lpszWindowNameChar;
dsStyleWORD;
x,y:Integer;
nWidth,nHeight:Integer;
hwndParent:THandle;
nId:Integer):THandle;
begin
FunH:=LoadLibrary('C:/WINDOWS/system32/avicap32.dll');
try
if FunH<>0 then
begin
@capCreateCaptureWindow :=GetProcAddress(FunH,'capCreateCaptureWindow');
if @capCreateCaptureWindow<>nil then
begin
end;
end;
finally
FreeLibrary(FunH);
end;
end;
@capCreateCaptureWindow這個值查看到的是Nil,怎麼回事,avicap32.dll應該是有這個函數的啊,大俠,指點一下啊,小蝦我拜謝了
var FunH,capWinH:THandle;
capCreateCaptureWindow:function(lpszWindowNameChar;
dsStyleWORD;
x,y:Integer;
nWidth,nHeight:Integer;
hwndParent:THandle;
nId:Integer):THandle;
begin
FunH:=LoadLibrary('C:/WINDOWS/system32/avicap32.dll');
try
if FunH<>0 then
begin
@capCreateCaptureWindow :=GetProcAddress(FunH,'capCreateCaptureWindow');
if @capCreateCaptureWindow<>nil then
begin
end;
end;
finally
FreeLibrary(FunH);
end;
end;
@capCreateCaptureWindow這個值查看到的是Nil,怎麼回事,avicap32.dll應該是有這個函數的啊,大俠,指點一下啊,小蝦我拜謝了