procedure Tform1.Button5Click(sender: Tobject);
Var
TcadCliente : procedure;
Handle : THandle;
Begin
Handle := LoadLibrary('DllFuncoes.dll');
If handle <> 0 Then
Begin
Tcadcliente := GetProcAddress(Handle, 'ChamaCadCliente');
FreeLibrary(Handle)
End
End
procedure ShowUserInfo(List: TStrings);
var frm: TfrmUserinfo;
begin
frm := TfrmUserInfo.Create(nil);
try
frm.LabelLastName.Caption := List.Values['LAST_NAME'];
frm.LabelFirstName.Caption := List.Values['LAST_NAME'];
// etc ...
frm.ShowModal;
finally
frm.Free;
end;
end;
or lots of smaller dll's and a smaller exe, probably totalling to more than 120mb
and a bit of dll-hell
in essence, deploying 1 exe is way simpler than deploying multiple files
have you tried looking what's causing the large size ?
allowing multiple themes or skins is usually 1 such item, which doesn't add to the functionality