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

Please add examples for C++ Builder #61

Open
irvanherz opened this issue Jan 28, 2017 · 6 comments
Open

Please add examples for C++ Builder #61

irvanherz opened this issue Jan 28, 2017 · 6 comments

Comments

@irvanherz
Copy link

I have downloaded this package from GetIt in C++ Builder 10.1 Berlin. But I don't have enough example to understand how to use it.

@joachimmarder joachimmarder changed the title Please add examples for C++ Please add examples for C++ Builder Jan 29, 2017
@joachimmarder
Copy link
Contributor

Any volunteer out there that creates a sample project for C++ Builder?

@matjak2
Copy link

matjak2 commented Feb 22, 2017

I also try to make project in c++ like for delphi. All goes OK with compiling and linking. but when i run, i got
OLE Error unspecified and "An error occurred while trying to load the Ribbon resource "APPLICATION": Unspecified error.

Ihave C++ Builder 10.1.2 Berlin (Update2).
Someone has some idea what i'm doing wrong?

@Fedel71
Copy link

Fedel71 commented Oct 10, 2018

About the error "An error occurred while trying to load the Ribbon resource "APPLICATION": Unspecified error". This is a bug in the 32 bit version of CBuilder. It is necessary to remove UIRibbonPackage.bpl from the list of packages for dynamic linking (Packages/Runtime Packages).

@Fedel71
Copy link

Fedel71 commented Oct 10, 2018

For the 64 bit version there is an unpleasant problem. The compiler requires 64 bit library UIRibbonPackage.bpi, which is not. If you clean the XML project file from UIRibbonPackage.bpi, then compiler requires 64 bit library UIRibbonPackage.a If you select "remove this reference" in the pop-up window, the compilation will be successful and the program will start. However, it is very inconvenient to do at each compilation.

@joachimmarder
Copy link
Contributor

For the 64 bit version there is an unpleasant problem. The compiler requires 64 bit library UIRibbonPackage.bpi, which is not. If you clean the XML project file from UIRibbonPackage.bpi, then compiler requires 64 bit library UIRibbonPackage.a

I added the C++ Builder link demand to a source file. Does the latest GitHub master improve this situation?

@ttwwoo2345
Copy link

About the error "An error occurred while trying to load the Ribbon resource "APPLICATION": Unspecified error".
You can add the following code in the mainform:

void __fastcall TForm1::FormCreate(TObject *Sender)
{
UIRibbon1->ResourceInstance = int(GetModuleHandle(0));
}

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

5 participants