Questions tagged [c++builder-2010]

The August 2009 release of C++Builder, a rapid visual C++ development environment. Use this tag for issues related to development in C++Builder 2010.

C++Builder 2010 introduces

  • touch and gesture support to the VCL
  • C++ specific class explorer

It was released on 24 August 2009. It was preceded by C++Builder 2009 and succeded by C++Builder XE.

See for more information.

115 questions
20
votes
3 answers

Pointer conversion issue with Ternary operator

I know the ternary operator has some surprising restrictions, but I was a bit baffled that this fails to compile for me: void foo(bool b) { int* ptr = ((b) ? NULL : NULL); } Obviously that's the minimum needed to show the problem. The error…
Roddy
  • 63,052
  • 38
  • 156
  • 264
14
votes
4 answers

Unhandled Exception in Rad Studio Debugger Thread

I have a large application that recently started exhibiting rather strange behavior when running in a debugger. First, the basics: OS: Windows 7 64-bit. Application: Multithreaded VCL app with many dlls, bpls, and other components. Compiler/IDE:…
alficles
  • 1,431
  • 1
  • 15
  • 22
13
votes
2 answers

Change keyboard shortcuts in RAD Studio 2010

I use C++ Builder 2010 and I could'nt figure out how to change keyboard shortcuts. From Tools > Options > Editor Options > Key Mappings, there are some key mapping modules, I use "IDE classic module", but I want to change some shortcuts in this…
12
votes
2 answers

Understanding package imports in the .cbproj file

I am using Embarcadero RAD Studio 2010 (C++). The project file (.cbproj) has five different tags that contain lists of .bpis or .libs. I would like some information about how each of these lists of library files is used by the linker (when…
Jeff Wilhite
  • 1,617
  • 13
  • 21
9
votes
3 answers

How to hide border around TRadioGroup

I have two radiobuttons in a TRadioGroup. All the logic behind how they are supposed to work is fine. But the TRadioGroup controler has a frame around it that I thought I would be able to delete using a border property or something like that. But…
inquam
  • 11,960
  • 14
  • 53
  • 95
8
votes
2 answers

How to print to C++Builder output window

I have a C++Builder 2010 project and want to add tests to it. So, instead of pausing the output of my console window to read the outcome of the tests, I want to print the same information to the Output Window in C++Builder (not in the Event Log). So…
riot_starter
  • 788
  • 8
  • 23
7
votes
2 answers

How to disable MouseWheel if mouse is not over VirtualTreeView (TVirtualStringTree)

TVirtualStringTree behaves by default if it is focused - it will scroll on mouse wheel even if mouse is not over control (except if it is over another TVirtualStringTree). Is there a quick and elegant way to disable this behaviour? I already did…
7
votes
2 answers

Recommendations for plotting (chart) component?

I am searching for a widget or control to plot a time-series of data. Basically plot(x,y) where x and y are Nx1 vectors. I am looking but haven't found much and any suggestions would be great! Thanks.
reso
  • 183
  • 2
  • 8
7
votes
3 answers

How should I embed Python in a C++ Builder / Delphi 2010 application?

I'm interested in experimenting with embedding Python in my application, to let the user run Python scripts within the application environment, accessing internal (C++-implemented) objects, etc. I'm quite new to this so don't know exactly what I'm…
David
  • 12,749
  • 6
  • 61
  • 126
5
votes
2 answers

Why are TClientSocket and TServerSocket deprecated and what should I use instead?

I'm just starting to get familiar with Embarcadero RAD Studio 2010 after living a life of Eclipse, Emacs, Visual Studio and notepad :) I'm jumping into quite a large C++ application (500.000 - 1.000.000 lines) that I found made extensive use of…
inquam
  • 11,960
  • 14
  • 53
  • 95
4
votes
2 answers

How can I use decltype to get the type of a reference?

I'm working on some code using decltype in CodeGear RAD Studio. I've tried the naive solution, which looks not unlike this: int main(int, char**) { int i; int &ir = i; decltype((ir)) ir_clone = ir; } Of course, this fails to compile:…
alficles
  • 1,431
  • 1
  • 15
  • 22
4
votes
2 answers

C++ Builder 2010

Can someone suggest me a book\s that i can read and learn about C++ Builder 2010.
Mafahir Fairoze
  • 677
  • 2
  • 9
  • 21
4
votes
2 answers

Transfer data between forms in borland c++ builder

I designed two forms in c++ builder: TfrmMain TfrmChooseName In TfrmMain class I have button named btnNext. when btnNext is clicked, code below runs and creates new TfrmChooseName. frmChooseName = new…
ioio
  • 43
  • 1
  • 4
4
votes
2 answers

Renaming TAction for another form

I have 2 forms which I'd like to share one single TActionManager and assigned TAction-s. First form is main form - it holds TActionManager, TAction with caption "Action". Main menu of Form1 has this action and menuitem caption property set to…
Coder12345
  • 3,146
  • 26
  • 60
3
votes
1 answer

connecting and using a Delphi DLL in C++ Builder

I wanted to ask for some help. I know, that there are a lot of places, where i can get this information. But, anyway, I have a problem connecting a Delphi DLL to my C++ Builder project. For example, my Delphi DLL looks like: library f_dll; uses …
an40us
  • 65
  • 10
1
2 3 4 5 6 7 8