Unsupported Grafcap device - SQR 6458

Unsupported Grafcap device - SQR 6458

When I try to run a custom developed SQR program, which has a bar chart, the error ”Unsupported Grafcap device –SQR 6458” was reported by the SQR engine.. Even when I tried with bar100.sqr program, which is a delivered SQR, the same error exists. Later I found the solution. There are three things to be considered while running any program with bar/pie/histogram etc.
a).stimages.dll
b).Libsti.ini
c).SQR File Path

a).Stimages.dll