This has been the way components are installed since around Delphi 3 or so, and the requirement to separate out designtime code into it's own package started being advised in Delphi 5 and enforced in Delphi 6 (when they relocated much of the IDE designtime support into their own separate packages and stopped distributing the source for them). The separate design-time package (the third step) is required because designtime code can only be used at design-time there's nothing that can be distributed with an application if it's built with runtime packages and the package build in step 2 is one of them. It's also needed when you decide to build your application with runtime packages, if you use the third-party components and want to distribute the runtime package for it. It's required, because the design-time package (next step) requires the code that's in that package in order to function in the Form Designer. The next step (finding the "normal package") is in order to build the runtime package. pas files to Project->Options->Delphi Compiler->Search Path.) dpk (eg., M圜omponents in '.\Source\M圜omponents.pas') or add the location of the. pas files are in a different location, you'll need to either use relative paths in the. pas file names are listed in the includes section in the. (Actually, it's not required - you can eliminate this step by making sure that the. First, adding the file path to Tools->Options->Delphi Options->Library Path is so the compiler knows where to find the files to compile them.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |