I am developing a C# Console application, that has nothing to do with the server but it doe开发者_StackOverflow中文版s use a library vcamcomlib which comes with the trial version of e2e vcam.
These are my lines of code
refByte = File.ReadAllBytes(@"filepath");
vcam.PlayBuffer(ref refByte[0], 640, 480);//Exception comes here
My program was running fine yesterday, however i started my system today and trying to run it. the exception just showed up. Can somebody help? Thanks alot
From this URL, they discussed about the COM interop and thread safety. Better ask them which components are safe in multi-threading and which are not.
精彩评论