ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 DirectShow camera locks up on Surface Pro 4's
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

cpstevenc

USA
125 Posts

Posted - Aug 23 2017 :  10:15:33  Show Profile  Reply
Back to the drawing board on this... been "fixed" for a while but
apparently something driver wise maybe? has caused ImageEN to lockup
on disconnect from the camera. It appears to lock up in the actual direct show
disconnect call.. so really boned there.

Ive tried making the app run on 1 CPU.

Tried to PAUSE first then Disconnect.
Tried to PAUSE, STOP, then Disconnect.

Still randomly freezes.

Only with these Surface Pro tablets its being reported on daily.
Getting killed on these.


Would having the MediaCapture API support solves this at it seems that
is what this hardware/software is probably developed around maybe?

cpstevenc

USA
125 Posts

Posted - Aug 23 2017 :  10:23:16  Show Profile  Reply
From MadExcept

main thread ($1668):
74a38833 +093 KERNELBASE.dll WaitForSingleObjectEx
74a3878d +00d KERNELBASE.dll WaitForSingleObject
00e81af0 +038 bidmate.exe ieds 3949 +5 TIEDirectShow.Stop
014bccca +036 bidmate.exe frmPhotoCapture1 823 +3 TfrmPhotoCapture.Disconnect
018c3150 +074 bidmate.exe frmMainMenu1 32793 +6 TfrmMainMenu.FormDeactivate
006ca191 +5f1 bidmate.exe Vcl.Forms TApplication.WndProc


So it does the Stop call to DS... and thats the end of life there. Everytime it freezes for anyone.

Go to Top of Page

xequte

39053 Posts

Posted - Aug 23 2017 :  22:40:42  Show Profile  Reply
Are you able to reproduce with our DirectShow demos?



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

cpstevenc

USA
125 Posts

Posted - Sep 28 2017 :  10:28:10  Show Profile  Reply
I couldn't seem to reproduce with Demos.

For fun of it, I switched the whole control over to another Camera Component
which also uses DirectShow. Which luckly was pretty simple to do. Comment out ImageEN code and put in their equivalent.

No more freeze ups from our problem customers. But there has been issues in other areas like a slower preview for some people on other laptops now and maybe some resolution goofyness using their control.



Go to Top of Page

xequte

39053 Posts

Posted - Sep 28 2017 :  18:49:37  Show Profile  Reply
Hi

We have a Surface Pro 4 available now, so if you are able to create a simple demo that reproduces the issue then we can investigate.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: