Search code examples
code-documentationc++builder-2010

How to find proper header file from documentation


Really basic question here -

How am I supposed to determine the proper header file from Embarcadero's (or other) documentation when I already know what component I want to use?

For example, I am writing some ADO code, so I am getting errors like "unknown type name 'TADOConnection'". I could have just asked that question, but I want to know where I am supposed to find that in the documentation so I don't have to ask the same question for some other component next time, I can look it up.


Solution

  • The documentation TELLS you which header to use.

    For instance, the TADOConnection documentation in 10.3 Rio says:

    image

    Whereas the TADOConnection documentation in 2010 says:

    image