Drawing WMF in a TImage causes crash
I am trying to display a windows metafile in a TImage control in
Delphi 5. The image was created in Illustrator. It loads without
problem, showing the correct picture. However when the program runs,
after three or four redraws, or repaints, an error message comes up,
either "Canvas does not allow drawing" or alternatively "The parameter
is incorrect". Sometimes this leads to a program crash.
I have tried changing all the obvious preperties - eg Autosize,
Stretch, Transparent etc without effect. Saving the graphic as EMF
rather than WMF does not help either. Any suggestions would be much
appreciated.