You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
binary data of APPLICATION_RIBBON looks like this:
Any Idea?
The text was updated successfully, but these errors were encountered:
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?
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:
binary data of APPLICATION_RIBBON looks like this:
Any Idea?
The text was updated successfully, but these errors were encountered: