Axis Customer Forum

It is currently Sat Aug 17, 2019 1:26 pm

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Wed Jul 24, 2019 6:30 pm 

Joined: Wed Jul 24, 2019 4:57 pm
Posts: 3
Hello
My problem is when I use the function GetCurrentImage(), sometimes the function return the message: "Error HRESULT E_FAIL has been returned from a call to a COM Component"

this is my Code

Friend WithEvents VideoCamCtrl2 As VideoCamControl.VideoCamCtrl
VideoControlData.PhotoBmp2 = VideoCamCtrl2.GetCurrentImage(, SetUpObject.ErrMsg)

return SetUpObject.ErrMsg ("Error HRESULT E_FAIL has been returned from a call to a COM Component")

this Stop my application, only close and open the application and the app working fine for a sometime

Can you Help me?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Group