highsmallxu/aforge

NewFrame event doesn't fire after stop and start again in Windows service

Opened this issue · 4 comments

What steps will reproduce the problem?
1. Create windows service project
2. Use attached library
3. Create communication with service (WCF in my case)
4. Build project, start service, start camera
4. Stop camera by WCF
5. Start camera again by WCF
6. Check NewFrame event

What is the expected output? What do you see instead?
NewFrame will fire again.

What version of the product are you using?
2.2.5

Please provide any additional information below.

Original issue reported on code.google.com by ja.sebas...@gmail.com on 2 Feb 2015 at 10:30

Attachments:

[deleted comment]
Here is sample solution with problem. This solution is simplified, basically 
after install and start service in Debug(Release) directory should be 2 
pictures - one before stop and start camera and second after; but second image 
will not never captured - reported bug.
Solution just build and read Install.txt.

http://1drv.ms/1CpjfIh (host on OneDrive)

Original comment by ja.sebas...@gmail.com on 2 Feb 2015 at 12:18

Btw, I use Microsoft camera and in this sample I'm looking for camera with 
string "Microsoft" in name, so if you have different camera change camera in 
KioskCamera constructor.

Original comment by ja.sebas...@gmail.com on 2 Feb 2015 at 1:32

The framework was never tested officially anywhere except Windows Forms and 
Console applications. So when it comes to WPF, Windows Services, Unity, 
Android/iPhone, etc. then you are on your own.

So test the issue in WinForms. If it is reproducible there, then it is a valid 
issue. If not, then no.

Original comment by andrew.k...@gmail.com on 9 Feb 2015 at 3:18

  • Changed state: Pending