I have a third party ActiveX that represents a video camera. (AcxCamera myCam;
)
I connect this camera to a videostream via the Connect method. (myCam.Connect(url);
)
It's to note that AcxCamera is an object inherited from the third party Acx, so I can "control" the Connect method.
Now, I have some cameras that should be started synchronously.
I'd like to could do something like:
foreach(AcxCamera cam in myCams)
cam.BeginConnect();
is it possible?