annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

ActiveX video windows handle

I am using a DLL file provided by a camera manufacture to stream video.  I have been able to record the video, but am having problems displaying video on the from panel using ActiveX.  The DLL function which displays video requires a windows handle to know where to stream the video.  This appears to be a reasonable request for the video stream but I have not been able to determine how to get the handle id from the activeX windows media player when drop into the front panel of the LabVIEW display.

0 Kudos
Messaggio 1 di 5
4.682Visualizzazioni
ActiveX container is a child window of front panel, ActiveX window is a grandchild window of front panel.
 
Use G Toolbox, you can find the window handle programatically
George Zou
0 Kudos
Messaggio 2 di 5
4.671Visualizzazioni

Thank you for your shameless self promotion to software that must be purchased.  I just wasted about 2 hours before I realized I could not use gtoolbox without first buying the software.  If you are going to self promote at least be upfront about it.

0 Kudos
Messaggio 3 di 5
4.657Visualizzazioni
I think you should be able to do this by calling the "FindWindow" and "FindWindowEx" functions from the standard Windows user32 DLL. You can find more information on Microsoft's MSDN site. You can try the attached VI (LabVIEW 8.2), but I don't know if it will work for you since I don't have anything that I can use to stream.
0 Kudos
Messaggio 4 di 5
4.646Visualizzazioni

Thank you for your help.  Unfortunately, I have LV 7.1, however I was able to find lvwutil32_1.zip that allowed me to get the window ID.

0 Kudos
Messaggio 5 di 5
4.643Visualizzazioni