Hi,

I'm creating a project using the JACOB COM bridge.

In a loop, i put this

Java Code:
			winder.removeAll();
			this.removeAll();
			handle0 = myWin.gethandle(name0);
			handle = myWin.gethandle(name);
			System.out.println(handle0);
			System.out.println(handle);
			frame0 = Dispatch.call(camera, "GetFrame", vWait).getDispatch();
			frame = Dispatch.call(camera1, "GetFrame", vWait).getDispatch();
			vFrame0.putDispatch(frame0);
			vFrame.putDispatch(frame);
			try{
				Thread.currentThread().sleep(1000);
			}
			catch(InterruptedException e){
				Thread.currentThread().interrupt();
				
				
			}
			Dispatch.call(camera, "DrawFrame", vFrame0, handle0);
			Dispatch.call(camera1, "DrawFrame", vFrame, handle);
After about 5 iterations of the loop working perfectly I get an error "putObject failed" at the line which says vFrame0.putDispatch(frame0);

vFrame0 is a variant by the way.

Any ideas why this might happen/fixes?

Thanks!