T O P I C R E V I E W |
klausdoege |
Posted - Aug 18 2020 : 13:54:23 Hello, I use the parameters ImageEnView.CurrentLayer.UserData and ImageEnView1.CurrentLayer.UserDataLen. Both works fine. Now I want to transfer the LayerX to another LayerY, but with the parameters UserData. I do it like this: ImageEnVectX.CurrentLayer.Assign(ImageEnViewY.CurrentLayer); But unfortunately the UserData parameters are not transferred. ImageEnviewY has the Params UserData but ImageEnVectX has not the params. What do I have to do ?
Klaus www.klausdoege.de |
2 L A T E S T R E P L I E S (Newest First) |
klausdoege |
Posted - Aug 21 2020 : 08:20:42 Hello Nigel, OK, then I have to write my own routine that copies the data.
Klaus www.klausdoege.de |
xequte |
Posted - Aug 19 2020 : 18:11:38 Hi Klaus
Because we don't know what UserData contains we cannot safely assign it. It may be an allocated buffer or object, so transferring/copying it could cause memory leaks or invalid deallocations.
Nigel Xequte Software www.imageen.com
|