3
I’m starting to work with modular applications in DelphiXE3
, however I’m not finding much about.
Picking up a little something from here, I created a dll with a form
and added it to a DLL. My question now is as follows: How do I call this form
of my main application?
At first I’m only doing a few tests, once I can understand the concept of modularization, I have a whole project to make modular.
And how I would carry one Package in my application, and how to open a form of that Package?
– Thiago Thaison
Loadpackage and Unloadpackage methods can be used when the programmer chooses to have this type of work, but usually this is not the case. A Delphi app can be built with what’s called Runtime Packages, where the process of making the load and connections is fully automatic. Look for references regarding Runtime Packages.
– AlexSC
I did some research and found some materials about it and I have already started to modulate my system. However another question arose. In a Unit that will be in one of the modules, I have:
type
 TUsuario = record
 id:Integer;
 idEmpresa:Integer;
 usuario:string;
 foto:string;
 validade: TDateTime;
 senha:string;
 nome:string;
 admin:Boolean;
 ultimoAcesso:TDateTime;
 dataCadastro:TDateTime;
 end;
evar
 usuario:TUsuario;
That at certain times I will feed this variable and in others I will retrieve the information from it. My question: How to do this?– Thiago Thaison
@Thiagothaison for every question try to use a different question. Avoid cascading questions.
– Filipe.Fonseca
Okay, thank you...
– Thiago Thaison
@Thiagothaison: Please, if you considered my response appropriate, mark the question as answered
– AlexSC