Demo For DLL Form
Demo1 : Static Link DLL form (1.2M)
Demo2 : Dynamic Link DLL form (1.2M)
This is VCLSkin demo for DLL form.
1.Put one skindata on exe project (domain project).
2.Don't put skindata on dll project.
3.Add code in domain project:
use winskindlg;
call SetApplicationHandle(Application.Handle,winskindlg.skinmanager);
|
4.Add code in DLL project:
use WinSkinData;
procedure SetApplicationHandle(Handle: HWnd;adata: Pointer);
begin
Application.Handle := Handle;
Winskindata.SkinDll(adata);
end;
|
note :
if you want to change skin file in main forms and dll forms, you must add "sharemem" in domain and dll project file
|