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;
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.
c++builder vcl
add a comment |
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.
c++builder vcl
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
add a comment |
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.
c++builder vcl
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.
c++builder vcl
c++builder vcl
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
add a comment |
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
add a comment |
2 Answers
2
active
oldest
votes
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
add a comment |
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.
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
add a comment |
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
add a comment |
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
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
answered Mar 24 at 22:47
Remy LebeauRemy Lebeau
345k19273466
345k19273466
add a comment |
add a comment |
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.
add a comment |
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.
add a comment |
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.
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.
answered Mar 25 at 7:24
kokokokkokokok
424216
424216
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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