_Leo Site Admin

Registrado: 11 Ago 2002Mensajes: 1875Ubicación: Lanzarote - Islas Canarias (España)
|
Publicado: Jue 16 Oct, 2003 8:15 pm Asunto: |
|
|
Por si te sirve, en la propia ayuda dice:
Pestaña "Contenido": -> Upgrading to C++Builder 6 -> Compatibility issues:
DsgnIntf renamed and related changes
References to DsgnIntf.hpp in your project should be changed to the new C++Builder 6 name, DesignIntf.hpp. You may also need to add DesignEditors.hpp, VCLEditors.hpp and RTLConsts.hpp. You will also need to add designide to your package requirements. References to dsnide50 should probably also be changed to designide if that isn't changed automatically by C++Builder.
Any runtime packages that use IDesigner need to use IDesignerHook to avoid a requirement of designide at runtime. In runtime code, IDesignerHook should suffice. Design-time code can use IDesigner, but should use something like
_di IDesigner RealDesigner;
...
SomeDesignerHook->Supports(RealDesigner);
...
to get the real IDesigner interface from an instance of IDesignerHook. IDesignerHook only requires Classes and Forms to be available. IDesigner requires DesignIntf, which includes many other packages, some of which may not be redistributable. |
|