Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

c++ Builder Berlin 10.1 (update 2) not work with TurboPack/RibbonFramework #62

Closed
matjak2 opened this issue Feb 22, 2017 · 3 comments
Closed

Comments

@matjak2
Copy link

matjak2 commented Feb 22, 2017

I created empty VCL Forms Application (C++ builder), On mainForm i put TUIRibbon and try to compile,
First issue is that on Unit1.h is missing #include <UIRibbon.hpp> instead there is line with #include "UIRibbon.h" which is from $(BDS)\include\windows\sdk\UIRibbon.h and seem to me that is generated from UIRibbon.idl. if i put line #include <UIRibbon.hpp> after #include "UIRibbon.h" i can compile source. Then i added "SimpleRibbonUI.pas" from samples directory. I built project. when i run under debbuger i got
"Project Project1.exe raised exception class EOleException with message "Unspecified error". if i click continue i got new error window with message: "An error occurred while trying to load Ribbon resource "APPLICATION": Unspecified error.
I look Project1.exe with VisualStudio and this resources are visible:

slika

binary data of APPLICATION_RIBBON looks like this:

slika

Any Idea?

@joachimmarder
Copy link
Contributor

The exception does not necessarily mean that the resource is not present. The error occurred inside the Ribbon Framework call IUIFramework.Load() which expects a resource name as parameter. The textual representation of the error message is "Unspecified error" which is not helpful at all. So I have now added the actual OLE error code to the exception message. Maybe this will help any further. Would you give it another try?

@joachimmarder
Copy link
Contributor

Is there any news regarding this issue? Is it maybe fixed in RAD Studio Tokyo 10.2.1?

@joachimmarder
Copy link
Contributor

No more feedback was posted since February, so I am closing this issue for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants