Home > Software engineering >  Ezvipcap. The problem of ocx calls
Ezvipcap. The problem of ocx calls

Time:10-02

VB environment
Two child form can't call the same camera

To solve the medicine!!!!!!
Sit back and wait for

CodePudding user response:

I remember this control can be put the image output to the specified HDC, so the image is copied to the multiple picture there should be no problem.

CodePudding user response:

Thank you for your reply
I mean can both child form at the same time get the preview effect is used to take photos or when a child form loses focus when another child form for preview,
Now the situation is at the same time open two cites ezvidcap. Ocx controls the form preview the other one is only a form of a piece of green, lead to can't take photos, must close the window to photography,
How to implement this function?

CodePudding user response:

That a form reference only, the other forms with the timer from the first form of copy images to the window...

CodePudding user response:

After form loses focus release
 Private Sub Form_LostFocus () 
EzVidCap1. Preview=False
EzVidCap1. Visible=False
End Sub


Use

CodePudding user response:

You see if there are any similar ezVidCap1. Close
Really not line, set ezVidCap1=nothing can also like
When need to set ezVidCap1=new...

CodePudding user response:

Try all methods changed are not make
  • Related