CPB Mailing List
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [BCB3] Adding Custom Components to the Palette
I don't know about installing components with
no source, but the following is taken from
the BCB3 readme file:
To install Delphi components create a new package in C++Builder 3.0 and
add the .PAS files to the package project. It is necessary to add the
following directive to the Pascal source:
{$ObjExportAll On}
It is also possible to use DCC32 that comes with C++Builder 3.0 to
compile Delphi 3.0 packages. This is a 2 step process as follows:
1)dcc32 delphipack.dpk
this will result in a BPL which can be installed in the C++Builder IDE
2)dcc32 -jphn DelphiPack.DPK
this will result in a BPI, OBJ and HPP files for use in C++Builder 3.0
DELPHICLASS and DELPHIRETURN macros
The implementation of the #define macros DELPHICLASS and DELPHIRETURN
have changed. As long as your programs used the macros as documented,
your code will work as expected. Internally, the C++Builder 1.0 declspec
arguments __declspec(delphiclass) and __declspec(delphireturn) are now
replaced by __declspec(delphiclass, package) and
__declspec(delphireturn, package) respectively. For more information,
see the declspec keyword extension.
Rob
W Komornicki's Home Page |
Main Index |
Thread Index