H hlsoft Unregistered / Unconfirmed GUEST, unregistred user! 2003-02-22 #1 在xp中的system32中有个uxtheme.dll文件,其中有个SetWindowTheme函数,请问该如何调用?
Z zob Unregistered / Unconfirmed GUEST, unregistred user! 2003-02-23 #2 我想如果你知道该函数完整的定义,你把它在重新定义在你的代码单元中,将它说明为EXTERNAL ,后跟DLL的字符串名,就能使用该函数了。要是动态调用,我想用API,直接调DLL,然后在调用 函数的API,找到函数的指针地址再使用就行了。第一种方法是说在DELPHI中,如果要是在C++里那 还要有该DLL的LIB才能静态调用
我想如果你知道该函数完整的定义,你把它在重新定义在你的代码单元中,将它说明为EXTERNAL ,后跟DLL的字符串名,就能使用该函数了。要是动态调用,我想用API,直接调DLL,然后在调用 函数的API,找到函数的指针地址再使用就行了。第一种方法是说在DELPHI中,如果要是在C++里那 还要有该DLL的LIB才能静态调用
小 小雨哥 Unregistered / Unconfirmed GUEST, unregistred user! 2003-02-23 #4 函数用途:在 XP 下关闭某个窗口应用的可视风格(Visual Style),以支持 Owner-Drawn 。 函数 Delphi 声明: function SetWindowTheme(HWND:THandle;pszSubAppNameChar; pszSubIdListChar):HRESULT;stdcal;
函数用途:在 XP 下关闭某个窗口应用的可视风格(Visual Style),以支持 Owner-Drawn 。 函数 Delphi 声明: function SetWindowTheme(HWND:THandle;pszSubAppNameChar; pszSubIdListChar):HRESULT;stdcal;
W windyhero Unregistered / Unconfirmed GUEST, unregistred user! 2003-02-25 #6 implementation function Plus(X,Y:Integer):Integer;stdcall;external 'DLL1/Project1.dll'; function MinusNum(X,Y:Integer):Integer;stdcall;external 'DLL1/Project1.dll'; {$R *.DFM}
implementation function Plus(X,Y:Integer):Integer;stdcall;external 'DLL1/Project1.dll'; function MinusNum(X,Y:Integer):Integer;stdcall;external 'DLL1/Project1.dll'; {$R *.DFM}