Rolf Kalbermatter Posted June 8, 2022 Report Share Posted June 8, 2022 8 minutes ago, alvise said: Then you say that choosing "UI thread" for "Play4M" and "HCNetSDK.dll" makes more sense for now. No, the opposite if you have a DLL version 18.104.22.168 or newer. In that case it SHOULD be safe to set all Call Library Nodes for the PlayCtrl.dll functions to reentrant. 6 minutes ago, alvise said: I have to use the method here, right? No again! The byte stream coming from PlayM4_GetJPEG() is already a JPEG formatted byte stream. Dump into a binary file and it is a JPEG image. For Windows make sure to give it the filename extension .jpg or .jpeg as otherwise Windows Explorer will not understand that it is a JPEG image, but that is just a Windows thing. Microsoft in its infinite wisdom decided loooooooooong ago that the file ending is the only reliable way to determine what type a file is. Of course that is a very unreliable assumption but hey they have gotten away with it for about 40 years. So what! Quote Link to comment
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.