DesignIntf not found in bpi but works with dcp Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!C++ Builder DLL can not link unit obj from a Delphi Package (BPL). How to fix it?IWFile fix for c++ Builder XE?Components in delphi and C++ Builder?Comport Package Library for Embarcadero RAD Studio XE for C++ modulesWhy doesn't the new-component wizard display any ancestor classes?Installing VCL component in Delphi & C++ BuilderLink object file to a Delphi project that compiled by C++ builder XE5/XE6C++ error when calling a Delphi function with Extended parametersC++ Builder (Rad Studio 10.2): [bcc32 Error] E2357 Reference initialized with 'char', needs lvalue of type 'wchar_t'C++ Builder 10.3 Rio Amazon Storage Service Example

Fit odd number of triplets in a measure?

As a dual citizen, my US passport will expire one day after traveling to the US. Will this work?

French equivalents of おしゃれは足元から (Every good outfit starts with the shoes)

Why do C and C++ allow the expression (int) + 4*5?

Why are two-digit numbers in Jonathan Swift's "Gulliver's Travels" (1726) written in "German style"?

Why can't fire hurt Daenerys but it did to Jon Snow in season 1?

What does 丫 mean? 丫是什么意思?

Statistical analysis applied to methods coming out of Machine Learning

Diophantine equation 3^a+1=3^b+5^c

Can gravitational waves pass through a black hole?

How can I prevent/balance waiting and turtling as a response to cooldown mechanics

What was the last profitable war?

Google .dev domain strangely redirects to https

Keep at all times, the minus sign above aligned with minus sign below

Did John Wesley plagiarize Matthew Henry...?

3D Masyu - A Die

Why complex landing gears are used instead of simple, reliable and light weight muscle wire or shape memory alloys?

Russian equivalents of おしゃれは足元から (Every good outfit starts with the shoes)

Sally's older brother

Plotting a Maclaurin series

Can two people see the same photon?

How do I say "this must not happen"?

Is this Kuo-toa homebrew race balanced?

calculator's angle answer for trig ratios that can work in more than 1 quadrant on the unit circle



DesignIntf not found in bpi but works with dcp



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Data science time! April 2019 and salary with experience
The Ask Question Wizard is Live!C++ Builder DLL can not link unit obj from a Delphi Package (BPL). How to fix it?IWFile fix for c++ Builder XE?Components in delphi and C++ Builder?Comport Package Library for Embarcadero RAD Studio XE for C++ modulesWhy doesn't the new-component wizard display any ancestor classes?Installing VCL component in Delphi & C++ BuilderLink object file to a Delphi project that compiled by C++ builder XE5/XE6C++ error when calling a Delphi function with Extended parametersC++ Builder (Rad Studio 10.2): [bcc32 Error] E2357 Reference initialized with 'char', needs lvalue of type 'wchar_t'C++ Builder 10.3 Rio Amazon Storage Service Example



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















In Rad Studio Rio, I create a package for Delphi.
In the PAS unit, I add:



 uses DesignIntf;


The compiler complains about "DesignIntf not found". Adding DesignIntf.dcp as reference solves the problem.



Now, if I create the same package but from C++ Builder, I add "uses DesignIntf;" in the PAS unit, if I add DesignIntf.bpi as reference, the error is not fixed.



Why in Delphi DesignIntf.dcp solves the problem but DesignInt.bpi does not solve it for C++Builder with exactly the same code?



UPDATE;



It is win32 platform. The following image shows how designintf.bpi is referenced but I continue getting the error. It works as expected if the package is for Delphi and using designintf.dcp.



enter image description here










share|improve this question
























  • COuld it be you are using win64 platform, or any other than win32? - in that case DesignIntf is NOT available.

    – H.Hasenack
    Mar 23 at 20:27






  • 1





    It is win32, you can see it in the above screenshot

    – kokokok
    Mar 25 at 7:09

















0















In Rad Studio Rio, I create a package for Delphi.
In the PAS unit, I add:



 uses DesignIntf;


The compiler complains about "DesignIntf not found". Adding DesignIntf.dcp as reference solves the problem.



Now, if I create the same package but from C++ Builder, I add "uses DesignIntf;" in the PAS unit, if I add DesignIntf.bpi as reference, the error is not fixed.



Why in Delphi DesignIntf.dcp solves the problem but DesignInt.bpi does not solve it for C++Builder with exactly the same code?



UPDATE;



It is win32 platform. The following image shows how designintf.bpi is referenced but I continue getting the error. It works as expected if the package is for Delphi and using designintf.dcp.



enter image description here










share|improve this question
























  • COuld it be you are using win64 platform, or any other than win32? - in that case DesignIntf is NOT available.

    – H.Hasenack
    Mar 23 at 20:27






  • 1





    It is win32, you can see it in the above screenshot

    – kokokok
    Mar 25 at 7:09













0












0








0








In Rad Studio Rio, I create a package for Delphi.
In the PAS unit, I add:



 uses DesignIntf;


The compiler complains about "DesignIntf not found". Adding DesignIntf.dcp as reference solves the problem.



Now, if I create the same package but from C++ Builder, I add "uses DesignIntf;" in the PAS unit, if I add DesignIntf.bpi as reference, the error is not fixed.



Why in Delphi DesignIntf.dcp solves the problem but DesignInt.bpi does not solve it for C++Builder with exactly the same code?



UPDATE;



It is win32 platform. The following image shows how designintf.bpi is referenced but I continue getting the error. It works as expected if the package is for Delphi and using designintf.dcp.



enter image description here










share|improve this question
















In Rad Studio Rio, I create a package for Delphi.
In the PAS unit, I add:



 uses DesignIntf;


The compiler complains about "DesignIntf not found". Adding DesignIntf.dcp as reference solves the problem.



Now, if I create the same package but from C++ Builder, I add "uses DesignIntf;" in the PAS unit, if I add DesignIntf.bpi as reference, the error is not fixed.



Why in Delphi DesignIntf.dcp solves the problem but DesignInt.bpi does not solve it for C++Builder with exactly the same code?



UPDATE;



It is win32 platform. The following image shows how designintf.bpi is referenced but I continue getting the error. It works as expected if the package is for Delphi and using designintf.dcp.



enter image description here







c++builder vcl






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 25 at 7:09







kokokok

















asked Mar 22 at 12:38









kokokokkokokok

424216




424216












  • COuld it be you are using win64 platform, or any other than win32? - in that case DesignIntf is NOT available.

    – H.Hasenack
    Mar 23 at 20:27






  • 1





    It is win32, you can see it in the above screenshot

    – kokokok
    Mar 25 at 7:09

















  • COuld it be you are using win64 platform, or any other than win32? - in that case DesignIntf is NOT available.

    – H.Hasenack
    Mar 23 at 20:27






  • 1





    It is win32, you can see it in the above screenshot

    – kokokok
    Mar 25 at 7:09
















COuld it be you are using win64 platform, or any other than win32? - in that case DesignIntf is NOT available.

– H.Hasenack
Mar 23 at 20:27





COuld it be you are using win64 platform, or any other than win32? - in that case DesignIntf is NOT available.

– H.Hasenack
Mar 23 at 20:27




1




1





It is win32, you can see it in the above screenshot

– kokokok
Mar 25 at 7:09





It is win32, you can see it in the above screenshot

– kokokok
Mar 25 at 7:09












2 Answers
2






active

oldest

votes


















1














In both Delphi and C++, your design-time package needs a reference to the DesignIDE package in order to use the DesignIntf unit.



Please read Embarcadero's documentation:



Compiling C++ Design-Time Packages That Contain Delphi Source



Creating or Extending a Package to Use the Tools API






share|improve this answer






























    1














    Finally I have solved it. I missed to add -LUDesignIDE under Delphi Compiler options. It is explained at http://docwiki.embarcadero.com/RADStudio/Rio/en/Compiling_C%2B%2B_Design-Time_Packages_That_Contain_Delphi_Source



    The reason is because I mix Delphi and C++ code.






    share|improve this answer























      Your Answer






      StackExchange.ifUsing("editor", function ()
      StackExchange.using("externalEditor", function ()
      StackExchange.using("snippets", function ()
      StackExchange.snippets.init();
      );
      );
      , "code-snippets");

      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "1"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader:
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      ,
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













      draft saved

      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55299777%2fdesignintf-not-found-in-bpi-but-works-with-dcp%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      1














      In both Delphi and C++, your design-time package needs a reference to the DesignIDE package in order to use the DesignIntf unit.



      Please read Embarcadero's documentation:



      Compiling C++ Design-Time Packages That Contain Delphi Source



      Creating or Extending a Package to Use the Tools API






      share|improve this answer



























        1














        In both Delphi and C++, your design-time package needs a reference to the DesignIDE package in order to use the DesignIntf unit.



        Please read Embarcadero's documentation:



        Compiling C++ Design-Time Packages That Contain Delphi Source



        Creating or Extending a Package to Use the Tools API






        share|improve this answer

























          1












          1








          1







          In both Delphi and C++, your design-time package needs a reference to the DesignIDE package in order to use the DesignIntf unit.



          Please read Embarcadero's documentation:



          Compiling C++ Design-Time Packages That Contain Delphi Source



          Creating or Extending a Package to Use the Tools API






          share|improve this answer













          In both Delphi and C++, your design-time package needs a reference to the DesignIDE package in order to use the DesignIntf unit.



          Please read Embarcadero's documentation:



          Compiling C++ Design-Time Packages That Contain Delphi Source



          Creating or Extending a Package to Use the Tools API







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 24 at 22:47









          Remy LebeauRemy Lebeau

          345k19273466




          345k19273466























              1














              Finally I have solved it. I missed to add -LUDesignIDE under Delphi Compiler options. It is explained at http://docwiki.embarcadero.com/RADStudio/Rio/en/Compiling_C%2B%2B_Design-Time_Packages_That_Contain_Delphi_Source



              The reason is because I mix Delphi and C++ code.






              share|improve this answer



























                1














                Finally I have solved it. I missed to add -LUDesignIDE under Delphi Compiler options. It is explained at http://docwiki.embarcadero.com/RADStudio/Rio/en/Compiling_C%2B%2B_Design-Time_Packages_That_Contain_Delphi_Source



                The reason is because I mix Delphi and C++ code.






                share|improve this answer

























                  1












                  1








                  1







                  Finally I have solved it. I missed to add -LUDesignIDE under Delphi Compiler options. It is explained at http://docwiki.embarcadero.com/RADStudio/Rio/en/Compiling_C%2B%2B_Design-Time_Packages_That_Contain_Delphi_Source



                  The reason is because I mix Delphi and C++ code.






                  share|improve this answer













                  Finally I have solved it. I missed to add -LUDesignIDE under Delphi Compiler options. It is explained at http://docwiki.embarcadero.com/RADStudio/Rio/en/Compiling_C%2B%2B_Design-Time_Packages_That_Contain_Delphi_Source



                  The reason is because I mix Delphi and C++ code.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Mar 25 at 7:24









                  kokokokkokokok

                  424216




                  424216



























                      draft saved

                      draft discarded
















































                      Thanks for contributing an answer to Stack Overflow!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid


                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.

                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55299777%2fdesignintf-not-found-in-bpi-but-works-with-dcp%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

                      Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

                      Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript