Results 1 to 1 of 1
Thread: JACOB error, putObject failed
- 03-05-2010, 08:17 AM #1
Member
- Join Date
- Mar 2010
- Posts
- 2
- Rep Power
- 0
JACOB error, putObject failed
Hi,
I'm creating a project using the JACOB COM bridge.
In a loop, i put this
After about 5 iterations of the loop working perfectly I get an error "putObject failed" at the line which says vFrame0.putDispatch(frame0);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);
vFrame0 is a variant by the way.
Any ideas why this might happen/fixes?
Thanks!
Similar Threads
-
JVM creation failed
By RogerP in forum NetBeansReplies: 12Last Post: 10-08-2011, 09:33 PM -
Error filterStart, startup failed due to previous errors
By Prakash2345 in forum Web FrameworksReplies: 0Last Post: 01-29-2010, 09:45 AM -
How to use Jacob component in a Java Applet?
By ollyworks in forum Java AppletsReplies: 1Last Post: 09-09-2009, 04:07 AM -
Failed in reading xml
By gayathri_g in forum New To JavaReplies: 0Last Post: 08-27-2009, 02:07 PM -
unzipping core files failed error 25099
By truckerej in forum New To JavaReplies: 17Last Post: 08-20-2009, 04:25 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks