Re: Components from a dll

From: Jens Kretzschmar (newsposting_at_2andfro.de)
Date: 01/23/04


Date: Fri, 23 Jan 2004 19:56:00 +0100

Hi vertuas,

> The problem i have is how to display the plugin components on the
> applications main form. I can create the plugin component in the dll or
> package but when ever i try to display it i get the error message "Cannot
> convert a TFont to TFont".

did you manage to solve your problem?

I have the exact same problem. I am down to an Application with a Form
(let's call it MainForm) and a Panel that is supposed to display a Form
from out of a DLL. But as long as I assign "DLLForm.Parent :=
MainForm.Panel" it doesn't even appear. If I comment out this line the
DLLForm appears - but at the wrong position.

Anyone another idea?

Thanks,

Jens



Relevant Pages

  • Re: Components from a dll
    ... > The problem i have is how to display the plugin components on the ... > convert a TFont to TFont". ... Each DLL has its own class ... use a package, all the modules share a single class registry. ...
    (comp.lang.pascal.delphi.misc)
  • Re: Components from a dll
    ... Question, if the main exe has to be compiled with the package available, the ... Each DLL has its own class ... > the TFont in the DLL. ...
    (comp.lang.pascal.delphi.misc)
  • Re: Multi-language support on MFC app.
    ... The string displayed as a series of squares. ... I am sure that App is using correct resouce dll. ... VisualStudio cannot edit unicode resource files. ... program to display Chinese characters on I.E. etc.). ...
    (microsoft.public.vc.mfc)
  • Re: Problem with plugin in DLL
    ... TPlugin classand each plugin should be in DLL. ... "canno assign a tfont to a tfont". ... I would highly recommend switching from '.dll' to 'package' plugins: It gives you better debugger support in the IDE and a far better integration in the main application. ...
    (borland.public.delphi.non-technical)
  • Any Guru can figure out how to diisplay C++ MFC CDialog-based control in Excel from Excel comma
    ... displays a CDialog-based dialog from within the dll. ... I turned to do it with Excel. ... calling the xll functiuon. ... Here is the code that tries to display the dialog: ...
    (microsoft.public.excel.programming)