Recent

Author Topic: Creating forms in DLLS  (Read 4568 times)

delphian

  • New Member
  • *
  • Posts: 39
Creating forms in DLLS
« on: April 03, 2010, 01:48:05 pm »
with lazarus SVN .9.29 23934 x64 can we create forms from with in a DLL ?
( on a windows GUI).

if possible can someone provide some code to show how to do it , i get a A/V when i attemp to do so.


Delphian

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2496
Re: Creating forms in DLLS
« Reply #1 on: April 03, 2010, 05:33:08 pm »
This wont work. Why is partially covered by this answer in Passing parameters to library thread
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

delphian

  • New Member
  • *
  • Posts: 39
Re: Creating forms in DLLS
« Reply #2 on: April 03, 2010, 11:54:24 pm »
The Dll that creates the form will be called by the system , it will be a ActiveX plugin - a DeskBand Object

for a example in C++ look @ http://www.codeproject.com/KB/shell/calendar.aspx the dll here i am trying to port to Lazarus.

Dibo

  • Hero Member
  • *****
  • Posts: 1045
Re: Creating forms in DLLS
« Reply #3 on: April 26, 2010, 07:26:12 pm »
Hi,

I'm confused. So LCL form in DLLs are working properly or not? I found this example and it works:
http://www.lazarus.freepascal.org/index.php/topic,8762.0.html
Are there any contraindications to such use?

Regards