I have a 3rd party provided .dpk
that I build using dcc32
and it works fine, but for dcc64
I get an error:
packagename.dpk(35) Fatal: E2202 Required package 'designide' not found
Which, from what I've read online, is because the IDE itself is only 32-bit and there is no 64-bit alternative, and that has something to do with integrating with the IDE.
How do I build the 64-bit libraries for me to use with C++Builder 64bit Windows target?
designide
package is used by other packages to interact with the IDE itself, so there is only a 32bit version, no 64bit version. Run-time packages SHOULD NOT referencedesignide
at all, only design-time packages should. It sounds like yourdpk
's code is not properly separated into run-time and design-time packages. OLD versions of Delphi/C++Builder let you get away with that, but modern versions do not. If the.dpk
does not contain any design-time editors or IDE add-ons, then there is no reason for it to referencedesignide
at allRegisterComponents()
) needs to be in a run-time package. All code for the IDE (ie, property editors, component editors, etc) needs to be in a design-time package thatrequires
the run-time package. Only the design-time package is installed in the IDE. Read Embarcadero's documentation on Working with Packages and Components and VCL Component Writer's Guide.