Hello,
I am recompling a project using Borland C++ Builder 6. The recompile process failed due to linker error. The message was:
"[Linker Fatal error] Fatal unable to open file ABCC.lib"
I removed all references of ABCC.lib in the project option and environment options, but the same error still occurred. I even tried manually removed ...
Hi boys:
I was programming an application in C++ Builder 6, and I had encountered this rare problem:
void RotateDice()
{
Graphics::TBitmap *MYbitmap = new Graphics::TBitmap();
Randomize();
int rn = random(6) + 1;
switch (rn)
{
case 1:
{
//...
break;
}
//... Some cases...
}
ShowDice(); ...
I have a tree control that implements drag and drop. I use an overridden OnStartDrag() to get my own TDragObjectEx that shows an image while dragging. This works perfectly within the tree control, but as soon as I leave the tree control the image disappears. The cursor stays though.
I tried implementing OnDragOver, to reset the image...
I'm a C++ programmer using Borland's C++ Builder 5. I'm working on a database application
and its causing me serious grief right now...
I'm using a Paradox 7.0 table with the C++ Builder and I simply can't find a way to insert data into BLOBs.
I also can't save or view pictures using the TDBImage VCL component either.My latest foiled at...
How can I use XML as a simple data storage in Borland C++ Builder 6?
Is there an internal class, which I could use?
Thank's for help
...
I cannot localize a Builder C++ 2010 application. Even following the directions in the help file. Here is what I do:
create a VCL Forms application.
add the german language.
add the german translation of the form caption using the translator.
set my active language preference to german (project->language->set active...).
build and r...
I want to connect two PCs and have them communicate. Is there a nice component to do that? (preferably from TMS, or free), or do I just use standard C++ socket libraries?
What about sending data? Should I invent a simple protocol? TLV (type/length/value), where T is the message type and .. you get the picture...
...
Hello,
I am recompling a project using Borland C++ Builder 6 and LMD tool 2010. The recompile process failed due to linker error. The message was:
"[Linker Fatal error] Fatal unable to open file LMDOneInstance.OBJ"
I searched the whole hard drive, but could not find any reference to LMDOneInstance.OBJ
Any help is appreciated.
Thanks i...
I cannot find anywhere how to create a stringtable in Builder C++ 2010. Do I have to use an external editor or is there another way?
...
I'm wondering so when I change state of CheckBox
CheckBox->Checked=false;
It calls CheckBoxOnClick Event , how to avoid it ?
...
i All,
I am trying to get TIdTCPClient to run in my non-visual component. I add the following to my .h file:
#include "IdBaseComponent.hpp"
#include "IdComponent.hpp"
#include "IdTCPClient.hpp"
#include "IdTCPConnection.hpp"
...
private:
TIdTCPClient *mTCPClient;
It all compiles fine, but of course Indy is not included in the bui...
I have a huge issue of adapting the code into C++Builder.
What is the equivalent in C++Builder for __declspec (align (n))? I do not mean the #pragma pack ([show] | [push | pop] [, identifier], n). I need something for the macro.
I have a problem with adopt a code below (especially for __declspec(align(n))):
#elif defined(_MSC_VER)
#d...
I need to get a list of user names from Active Directory using C++Builder. I know I could shell out to batch file and run the csvde.exe command but surely there is a nicer way using a library or something, right? Are there any C++ libraries? (hopefully with examples?)
Many thanks!
-Dan
...
I have been away from C++ for a couple of years now doing AS3/Flex work. I have gotten used to being able to create a component and place it in design mode with very little fuss and I am struggling to get my head around the C++ Builder way of doing the same thing.
I have written many components for C++ Builder in the past, but none of t...
I'm using C++ Builder 6 and I need something like TBitBtn, but it should react when mouse is pointing at it by changing to another image. Yes, I know I can use OnStartDoc but there is no OnStopDoc. :(
...
I want my form slide down and back to position with slide animation, how to make correct AnimateWinows, if it real for sure ...
void __fastcall TUsers::BitBtn1Click(TObject *Sender)
{
if (!pressed)
{
Height=700;
//AnimateWindow(Handle, 500, AW_CENTER | AW_SLIDE | AW_VER_POSITIVE);
pressed=true;
}
else
{
p...
Hello.
I've got DBGrid (I guess in this question it doesn't matters DBGrid or StringGrid)
Delphi or C++Builder
I need automatic redrawing when I scrolling my Grid right when I pressed key down and start scrolling (not when I key up) And I also request for mouse Scrolling.
T_T C++Builder 6 ... so poor ...
...
I found this line of code when upgrading a C++ Builder project to RAD Studio 2009:
mProcessLength->Text.printf("%d",mStreamLength);
It doesn't compile in 2009, however what is the intent of this line and what is a better equivalent? Given that mProcessLength->Text is now a wchar_t*.
...
I am looking for some BCB code to iterate over the controls on a form and get some information about them.
I tried using myForm->ControlCount and typeid(myForm->Controls[i]) but this gave me a few problems.
1) typeid(myForm->Controls[i])->Name always gives "TControl *" and I was hoping for "TEdit *", "TMemo *", etc
Can I get round tha...
It's a TMemo, not that that should make any difference.
Googling suggests that I can use Canvas->TextWidth() but those are Delphi examples and BCB doesn't seem to offer this property.
I really want something analogous to memo->Font->Height for width.
I realize that not all fonts are fixed width, so a good estimate will do.
All that I...