Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. BorlandDave

    Problem setting up CBuilder for a new user

    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...
  2. BorlandDave

    Setting attributes for multiple form items

    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.
  3. BorlandDave

    SAFEARRAY problem

    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...
  4. BorlandDave

    Displaying Foreign characters...

    ...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...
  5. BorlandDave

    IBTable is slow in Interbase 2007

    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?
  6. BorlandDave

    Comparing pointers won't work!

    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...
  7. BorlandDave

    Copying a record from one DB to another DB

    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?
  8. BorlandDave

    Default directory names

    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...
  9. BorlandDave

    Interbase inconsistant speed

    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...
  10. BorlandDave

    -+ operator

    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.
  11. BorlandDave

    utilcls.h??

    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...
  12. BorlandDave

    Stationary TSplitter control

    Is ther any way to make a TSplitter control immovable? Cheers for any help.
  13. BorlandDave

    Quick Report Bitmap problem

    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 =...
  14. BorlandDave

    ALed.hpp won't include!

    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...
  15. BorlandDave

    Change tab size within Borland C++ Builder

    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.
  16. BorlandDave

    Passing void parametre

    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...
  17. BorlandDave

    Problem with pointers

    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...
  18. BorlandDave

    How do I add an entry to a ComboBox list?

    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.
  19. BorlandDave

    Change content of a TMemo item

    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.
  20. BorlandDave

    Utilcls.h??

    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...

Part and Inventory Search

Back
Top