I'm using my own-design runtime packages (BPL) in my project. Well, I don't find any problems calling/activating those packages from my main EXE. Here's how I code it:
//the main EXE..
if FPackageHandle = 0 then
if OpenDialog1.Execute then
FPackageHandle := LoadPackage(OpenDialog1.FileName);
AClass := GetClass('TForm2');
if AClass <> nil then
//the BPL... don't know what to do....
//I have a textedit in Main .exe
//and a button in the BPL form, which I want it to send a text to the
//main form's textedit
//how can I done it... ????
But I still found difficulties when trying to access/modify values between packages. For example, I want to fill var a:integer with '25' in main EXE from package b1.bpl... I don't have any idea on how to do it...
Could anybody help me, please..???
Thank you in advance.. ;-)
[blue]I'm Dandi Giovani - the upcoming Delphi MASTER... hwahahaaa (I'm laughing...)[/blue] :-D :-D