- This topic has 6 replies, 2 voices, and was last updated 14 years, 4 months ago by musti.
-
AuthorPosts
-
May 23, 2010 at 1:11 pm #33769mustiParticipant
hello,
i want to skin a dll form i already skinned the load application(main app) but when i add skinmanager to the dll form and load it it is not skinnedMay 28, 2010 at 3:09 pm #42670SupportKeymasterHello
You saw other topics related to using AlphaControls and DLL's?
Can you show a demo, how you call a form from Dll?June 13, 2010 at 3:25 pm #42772mustiParticipantHello
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,
MustiJune 21, 2010 at 7:36 am #42834SupportKeymasterHello
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.July 3, 2010 at 10:11 am #42864mustiParticipantHello
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,
MustiJuly 8, 2010 at 11:42 am #42892SupportKeymasterThank you for your reply but it didn't work
Please 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.
July 13, 2010 at 11:54 am #42904mustiParticipantPlease 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 worksAuthorPostsViewing 7 posts - 1 through 7 (of 7 total)- You must be logged in to reply to this topic.