好象是VC的dll.....能帮我忙吗?看下如何调用他的函数.
新手学习中,分不多.100..呵呵

解决方案 »

  1.   

    在dos下使用dumpbin,好像装VC才有,要懂汇编才行,我不懂汇编,只看得到函数名,^_^
      

  2.   

    ...................晕了.我研究这个DLL好几天了..好东西,就是想调用啊.....
      

  3.   


    type TDevices=function(lpDevices:Pointer):integer;cdecl;//就是这个地方要注意;procedure TForm1.BitBtn1Click(Sender: TObject);
    var
      h:integer;
      p:TDevices;
    begin
      h:=LoadLibrary('myapi.dll');
      if h<>0 then
      begin
        p:=GetProcAddress(h,'DiscoverDevices');
        if Assigned(p) then
          ShowMessage('Ok')
        else
          ShowMessage('Error');
      end;
      FreeLibrary(h);
    end;