Don't know if this has come up before, or if it's my fault or a bug?
This problem only happens on the desktop - in the IDE or compiled (for testing only). The same complied code works perfectly on the device - so it's just an issue for debugging.
Picture file is selected with OpenDialog, then loaded into an ImageList, before showing it in Image control.
If the user clicks a button the file is inserted into a database using FiletoBLOB, which gives an error saying the file is "already in use by another process".
The image is removed from the ImageList before the insert (I'm just using it to get width & height). I tried using LoadPicture instead and also re-assigning the Image control - no difference. If the ImageList/Image code is removed then it works fine.
Any ideas?
Geoff.
This problem only happens on the desktop - in the IDE or compiled (for testing only). The same complied code works perfectly on the device - so it's just an issue for debugging.
Picture file is selected with OpenDialog, then loaded into an ImageList, before showing it in Image control.
If the user clicks a button the file is inserted into a database using FiletoBLOB, which gives an error saying the file is "already in use by another process".
The image is removed from the ImageList before the insert (I'm just using it to get width & height). I tried using LoadPicture instead and also re-assigning the Image control - no difference. If the ImageList/Image code is removed then it works fine.
Any ideas?
Geoff.