tomoto / kinect-mssdk-openni-bridge

Automatically exported from code.google.com/p/kinect-mssdk-openni-bridge
Other
1 stars 2 forks source link

Unload bridge libraries - reload grab Timeout #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Load all needed libraries (done automaticaly) and Init anything
2. De-Init anything, (Release), but don't kill the prozess
3. Try to Init anything again
4. No further image date will be delivered

What is the expected output? What do you see instead?
Further images should be grabbed, but a Timeout appears.

What version of the product are you using? On what operating system?
kinect-mssdk-openni-bridge-v1.5.0.1-for-1.5.2.23, Win7 64bit, 32-bit 
Application. 

Please provide any additional information below.

We have a product that loads the image acquire dll at load time.
So if the Product calls the image acquisition dll to close the image 
acquiering (*Release in OpenNI), the prozess from our product is still alive. 
If the user tries to acuire images again (Init OpenNI), a Timeout occures if we 
trie to grab images.

I Have adapted the NiSimpleRead.cpp to demonstrate this beaviour.
I assume, the brdige in not unloaded correctly in case of an OpenNI->Release.

Original issue reported on code.google.com by muenche...@googlemail.com on 20 Jul 2012 at 1:11

Attachments:

GoogleCodeExporter commented 9 years ago
Thank you for your interest on the bridge. I have not taken care of that 
release & re-initialize use case. Let me investigate how I could support it.

Original comment by tom...@gmail.com on 21 Jul 2012 at 9:21

GoogleCodeExporter commented 9 years ago
I fixed the issue and uploaded the DLLs. Please replace your DLLs with them and 
let me know if it worked.
http://kinect-mssdk-openni-bridge.googlecode.com/git/bin/kinect-mssdk-openni-bri
dge-V10Debug.dll
http://kinect-mssdk-openni-bridge.googlecode.com/git/bin/kinect-mssdk-openni-bri
dge-V10Release.dll

If it worked, I will create a new release.

Original comment by tom...@gmail.com on 23 Jul 2012 at 4:00

GoogleCodeExporter commented 9 years ago
I have already tested the new dll's with success.
Thank you very much ...

Original comment by muenche...@googlemail.com on 23 Jul 2012 at 7:24

GoogleCodeExporter commented 9 years ago
Thank you to test and report the result. I will put it in the new release.

Original comment by tom...@gmail.com on 23 Jul 2012 at 8:58