E2293 ) expected in C++ Builder 6

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jewel87
    New Member
    • Jan 2007
    • 62

    E2293 ) expected in C++ Builder 6

    Hi,
    does anyone knows why this strange error can occur in C++ Builder 6:

    [C++ Error] Product.h(27): E2293 ) expected

    in the line
    Code:
    void display(TLabel *IDLabel,
                                 TLabel *ProductNameLabel,
                                 TLabel *WeightLabel,
                                 TLabel *PriceWithoutVATLabel,
                                 TLabel *PriceWithVATLabel,
                                 TLabel *ExpiryDateLabel);
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    You are probably missing the definition of the type TLabel

    Comment

    • jewel87
      New Member
      • Jan 2007
      • 62

      #3
      Thanks!
      I found the file where TLabel is defined, it is clx.h,
      so i added #include<clx.h> and everything is working now.

      Strange, i didn't have such problems in Builder v5... has anyone else come accross with such problems on v.6??

      Comment

      • John Adams

        #4
        Maybe the hierarchy of the header files in BCB-6 is different from BCB-5, or some development assistant tools will help you automaticly include the header files that you need. Unfortunately, I encountered the same problem while I'm using BCB2010. :(

        Comment

        Working...