Undeclared windows.bitmap error
When we migrate a old version Delphi application to new version and if we have used windows.bitmap type variable in our project then we generally get following error.
Undeclared identifier windows.bitmap
Actually we get this error because earlier bitmap type was declared in windows unit which is replaced with winapi.windows in latest versions.
So if we replace windows.bitmap with winapi.windows.bitmap then error will be resolved.
just replace windows.bitmap with winapi.windows.bitmap
Cheers...😊
Undeclared identifier windows.bitmap
Actually we get this error because earlier bitmap type was declared in windows unit which is replaced with winapi.windows in latest versions.
So if we replace windows.bitmap with winapi.windows.bitmap then error will be resolved.
just replace windows.bitmap with winapi.windows.bitmap
Cheers...😊
Comments
Post a Comment