E2015: Ambiguity Problems with C++Builder

Problem When I try to utilize the OnImageRequest event of the class TThumbnails under C++Builder, I'm getting the following error message:
       E2015 Ambiguity between TBitmap and Windows::TBitmap
Applies To TThumbnails under C++Builder
Solution This is not a problem of the SDL Suite, but due to a bug in the C++Builder, which does not generate a suitable header file. The Delphi compilers are not affected by this bug. You can solve the problem by adding the following line to the header of the corresponding unit:
       #define TBitmap Graphics::TBitmap
This line has to be inserted above declaration of the form:

 


Last Update: 2011-04-19