When i use the .DisplayFromFile method the source file is locked. Other application can access it read only.
And more.. if i close the application without close the picture first (using .closepicture or .close2picture method) the file remain locked until the system reboot (this is a critical issue).
I try this simple workaround:
Code: Select all
gdViewer1.DisplayFromFile (sTmpFile)
gdViewer1.Close2Picture
There is a way to load the image in the viewer, release the file, and menage it ?