Einzelnen Beitrag anzeigen

jbg

Registriert seit: 12. Jun 2002
3.481 Beiträge
 
Delphi 10.1 Berlin Professional
 
#2

Re: CLX-Forms in dll erstellen/aufrufen?

  Alt 23. Apr 2004, 17:48
Manchmal rediert es sich doch, wenn man den VCLX Quellcode mal durchforstet hat. Da findet man so Dinge wie:
Zitat:
{
Restrictions on CLX and TApplication in external modules:
CLX and Qt allow only a single instance of the application object - it is
created and destroyed in the initialization and finalization sections of
QControls.pas, respectively. It is the user's responsibility when using
external modules (packages and libraries or shared objects) in their
applications to ensure that only a single instance of TApplication is
created. Please heed the following rules when mixing modules that rely on
visual CLX:
- External libraries (.dll's/.so's) may not refer to visual CLX units
directly or indirectly.
- If you wish to include visual CLX code in an external library, the
external library must be a *package* to avoid duplicate unit
initialization and finalization.
- If your package uses the visualclx package, the main application must also
use it, and should not directly link in visual CLX units.
}
  Mit Zitat antworten Zitat