Home > Back-end >  WideString and TStrings
WideString and TStrings

Time:10-26

I in c + + programs use a WideString and TStrings two classes, but when the compiler suggest these two classes undefined, could you tell me is what reason, I confused for a long time,

CodePudding user response:

# include & lt; The VCL. H> Should be ok

CodePudding user response:

These two files in the
D: \ \ Program Files \ Borland \ CBuilder6 \ include \ VCL \ dstring h
D: \ \ Program Files \ Borland \ CBuilder6 \ include \ VCL \ wstring h

CodePudding user response:

refer to the original poster qimofei response:
I in c + + programs use a WideString and TStrings two classes, but when the compiler suggest these two classes undefined, could you tell me is what reason, I confused for a long time,


WideString and TStrings belongs to the type of data in the VCL, your project is not enabled Use VCL, light it is useless to include the header file, you need to add the VCL library support,

CodePudding user response:

I guess you are building, putting the VCL options, if is normal application should all need not care about this problem, but simply as demon elder brother say, in the VCL. H

CodePudding user response:

CodePudding user response:

  • Related