I have Borland CBuilder 5 working for a particular user on my computer. However, when I log in as someone else and try and open a (previously working!) project group, I get errors every time I try to open a dialog class file complaining of missing components...
Class TPageControl not found...
Is there a way to assign an attribute to all items on a form in one go?
For instance, I need to set the Font->Charset attribute for every item on numerous forms. I was hoping there'd be a quick way around this rather than assigned each item individually.
I've got two blocks of data (data and data2). I'm trying to copy both blocks of data back-to-back into a SAFEARRAY. The first block copies ok, but what should the parametres be in the second memcpy function?
SAFEARRAYBOUND bound={dsize+dsize2,0};
psa = SafeArrayCreate(VT_UI1, 1, &bound);
if...
...in this case Turkish!
I have installed the Turkish character set on my UK computer and am able to type the full Turkish alphabet into notepad.
However, when I try to type the same thing into an EditBox in my Borland C++ Builder program the characters don't come out the same. I can copy and...
I recently upgraded from Interbase 6 to Interbase 2007 and my program is much slower than it used to be when using the IBTable object. Specifically when I call IBTable->Active=true;
Does anyone know why this is?
I am comparing two pointers. When debugging they both contain the same address (both 00E2A7DC), but my comparison doesn't return true. Why not?
Graphics::TBitmap* Image1;
Image1 = new Graphics::TBitmap;
//point 'image1' to first image in 'ImageList1'
ImageList1->GetBitmap(0, Image1);
//add...
My program accesses two interbase databases with identical structures. I need to copy a selected record from a table in DB1 to the corresponding table in DB2.
Is there a quick way to do this with TIBQuery? Or do I really have to write each field in DB2 manually from the query on DB1?
I am currently developing some software which is to be used internationally. I therefore need to be a bit clever with where my program reads/writes to files because locations such as "C:\Program Files" may not exist on foriegn systems. I have done a bit of research but am still a bit unclear on...
I have an interbase database with a table containing 3 fields. The DB has about 3000 entries. I have some code which should pull out half of the entries. I am timing this function using timeGetTime() and I am getting some very inconsistant results. Sometimes the function takes less than 0.1...
Is -+ a valid operator? I'm editing a program written by someone else and I have never come across this before. Could it be a typo? The instance is as follows:
if(var1 && -+var2){
//...
}
Thanks for any help.
I have changed nothing in my (previously working!) code but I have come up against an error. My program compiles fine, but an error is displayed when it is executed:
intf != 0 failed -C:\PROGRAM FILES\BORLAND\CBUILDER5\INCLUDE\VCL\utilcls.h/2868
I have no idea why this error has suddenly...
Not sure if this is a very good place to post my question, but I'll give it a try anyway.
I've got a quick report form with various TQRLabels and a TQRImage. The TQRImage is to have a screen-dump bitmap assigned to it. I have coded this as follows...
Graphics::TBitmap *FormImage =...
I have a multi-project workspace in Borland C++ Builder 5. One of the projects has a few .h files that have ALed.hpp as an include. This project builds fine.
The remaining projects build fine too... except one. When attempting a build on this project, errors are found when trying to include...
The default tab size in Borland C++ Builder 5 seems to be huge (about 8 spaces). Is it possible to reduce this default tab size? It'd make my coding far quicker.
I have some code to edit which I don't fully understand. Here it is...
struct TDelrecs_tbl{
int table_no;
int pk1, pk2;
};
void function1(void){
TDelrecs_tbl delrec;
delrec.table_no=1;
delrec.pk1=2;
delrec.pk2=3;
function2(&delrec);
}
void function2(void...
I've got a pointer to a double set up like this:
double aValue;
double *aValuePointer;
aValuePointer = (double *) &aValue;
I can pass this pointer to a function which expects a double using aValuePointer[0]. But the problem is I want to copy this pointer to a new one. I thought I could just...
I have created a combo box with five entries using the Object Inspector. I now want to dynamically add a 6th entry to the list from within my code.
Any ideas how to do this? Cheers.
I know it is possible to change the value of a static label by:
Label1->Caption="Some text";
But how do you change the content of a TMemo item? Thanks for any help.
I have changed nothing in my (previously working!) code but I have come up against an error. My program compiles fine, but an error is displayed when it is executed:
intf != 0 failed -C:\PROGRAM FILES\BORLAND\CBUILDER5\INCLUDE\VCL\utilcls.h/2868
I have no idea why this error has suddenly...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.