Hi everybody,
I have written a small vi that scale and move an image in a .NET PictureBox (based on an example that provided by
smercurio_fc
). I had to use the .NET picturebox instead of the Labview one because of the bad quality of the zoomfactor function in the Labview picturebox.
As you will rapidely understand, I`m not familliar with .NET programming.
I`m pretty happy about my vi, but I have a memory leak problem. In fact, at every iteration of the while loop, two Bitmap object are created, increasing memory use. This memory is never released and after a few 100 of iteration I run into troubles.
I tried to use the dispose method for the Bitmap class but it doesn`t release memory and give error.
Does somebody see what is the problem and I could I solve it.
In attachement the vi and its scrrenshot.
Thanks in advance
Rodrigue
Message Edité par rodrigue le
02-10-2008 06:28 AM