Y yagee2000 Unregistered / Unconfirmed GUEST, unregistred user! 2000-12-07 #1 请问:在Delphi里该如何调用在VC6里编写的动态链接库里的函数?
B BaKuBaKu Unregistered / Unconfirmed GUEST, unregistred user! 2000-12-07 #2 声明一个函数头就可以了: interface function Rectangle(DC: HDC; X1, Y1, X2, Y2: Integer): BOOL; stdcall; implementation function Rectangle; external 'gdi32.dll' name 'Rectangle';
声明一个函数头就可以了: interface function Rectangle(DC: HDC; X1, Y1, X2, Y2: Integer): BOOL; stdcall; implementation function Rectangle; external 'gdi32.dll' name 'Rectangle';
孟 孟雯 Unregistered / Unconfirmed GUEST, unregistred user! 2000-12-07 #3 声明后: 1)LoadLibrary('your.DLL') 2) GetProcAddress(handle,'your function'); 很多书上都有详细说明的。