You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Amazing work. You've saved my entire project allowing me to do PDF to image processing on an isolate (windows) without relying on flutter plugins that wont work outside the main ui isolate.
The only issue is that at this point, the wrapper won't run on multiple isolates at the same time to parallel process multiple files. It crashes with 'lost connection to device'. It seems to have something to do with the DLL. Duplicating the pdfium DLL itself and creating a second identical method that points to the duplicated dll allows launching multiple isolates, however it doesn't work any other way. Effectively to get 8 threads, I'd need to have 8 copies of the same dll.
Any ideas? Thanks again for your efforts.
The text was updated successfully, but these errors were encountered:
I think you should open an issue in the dart-sdk repository and report this problem linking to this issue, because from what you are saying it seems to be a dart ffi problem, I think I also came across this problem in another circumstance but in epoca solve it in another way and I didn't focus on that if I wouldn't have opened an issue on dart-sdk
Amazing work. You've saved my entire project allowing me to do PDF to image processing on an isolate (windows) without relying on flutter plugins that wont work outside the main ui isolate.
The only issue is that at this point, the wrapper won't run on multiple isolates at the same time to parallel process multiple files. It crashes with 'lost connection to device'. It seems to have something to do with the DLL. Duplicating the pdfium DLL itself and creating a second identical method that points to the duplicated dll allows launching multiple isolates, however it doesn't work any other way. Effectively to get 8 threads, I'd need to have 8 copies of the same dll.
Any ideas? Thanks again for your efforts.
The text was updated successfully, but these errors were encountered: