Forum Replies Created
-
AuthorPosts
-
mustiParticipantPlease describe a problem which you have.
There is a demo of dll using with acntD7_r.bpl package linked dynamically (“Build with run-time acntD7_R package” must be checked in both projects). Compiled in Delphi 7.
Thank you <img src="style_emoticons//biggrin.gif” style=”vertical-align:middle” emoid=”:D” border=”0″ alt=”biggrin.gif” />
This worksmustiParticipantHello
If you have created the SkinManager component in the main application and have forms in DLL's, then easiest solution will be – to use run-time linking of the acntDx_R.bpl library.
You have an experience with that? Application and Dll's must be compiled with enabled “build with run-time libraries” and must be used the acntDx_R.bpl library as run-time linked.hi,
Thank you for your reply but it didn't work <img src="style_emoticons//unsure.gif” style=”vertical-align:middle” emoid=”:???:” border=”0″ alt=”unsure.gif” /> .
I read the forum and saw there are some related threads but in russian.
If you have a demo version which wil load forms in a panel i will be happy <img src="style_emoticons//laugh.gif” style=”vertical-align:middle” emoid=”:lol:” border=”0″ alt=”laugh.gif” />br,
MustimustiParticipantHello
You saw other topics related to using AlphaControls and DLL's?
Can you show a demo, how you call a form from Dll?yes i saw other topics but couldnt find my answer <img src="style_emoticons//rolleyes.gif” style=”vertical-align:middle” emoid=”:roll:” border=”0″ alt=”rolleyes.gif” />
here some info:
Function in my DLL/Module
function SetAppDetails(AppHandle, ParentWindow: Cardinal):TForm;stdcall;
begin
Application.Handle := AppHandle;
Mainform := TMainForm.CreateParented(ParentWindow);
MainForm.Left := 6;
MainForm.Top := 12;
MainForm.Visible := True;
Result := MainForm;
end;Load function:
Procedure load(filedll: string; t : pchar);
var
form: TFormDLL;
begin
handle := loadlibrary(PChar(filedll));
if (handle = 0) then begin
showmessage('[Error – 9090] Loading Module problem!');
exit;
end;
@form := GetProcAddress( Handle, t );
f := Form(Application.Handle, Mainform.LoadPanel.Handle);
end;buttoncode:
Load('CleanModuleMP.dll','SetAppDetails');Demo Download :
http://www.mediafire.com/?kzhw5lnemzhhope you can help me…
br,
Musti -
AuthorPosts