Closed czw299 closed 1 month ago
Version 3.0.0 should be able to run normally on windows 8 or above.
I only tested it on Windows 11.
According to what you said, it seems that this package does not currently work properly on win10.
But, I have no win10 PC to debug on it...:(
HELP WANTED! I hope someone can help me solve the problem of this package crashing in win10 !!!
After some study, this dll file is part of "Microsoft Visual C++ Redistributable".
Could you try to install "Microsoft Visual C++ Redistributable" and test again ?
After some study, this dll file is part of "Microsoft Visual C++ Redistributable".
Could you try to install "Microsoft Visual C++ Redistributable" and test again ?
I tried it and it didn't work. I'll try to debug on Windows 10 later.
Thanks for help. I think it maybe caused by string copy operation in the end of OpenURL() function, which may need ucrtbase.dll file.
Thanks for help. I think it maybe caused by string copy operation in the end of OpenURL() function, which may need ucrtbase.dll file.
I'm not very good at C++, try my best and find this. This is debug in WMware Virtual machine. I fixed the crash, but it is not clear why it failed and the video did not play.
I push a patch onto github. Please try in on your Windows 10 and let me know if it still crash.
Remember modify your pubspec.yaml:
dependencies:
video_player_win:
git:
url: https://github.com/jakky1/video_player_win.git
ref: master
I push a patch onto github. Please try in on your Windows 10 and let me know if it still crash.
Remember modify your pubspec.yaml:
dependencies: video_player_win: git: url: https://github.com/jakky1/video_player_win.git ref: master
Still crash. Remove some code as shown in the image, and it works. But the video won't play
hr is E_INVALIDARG
😂😂😂Ohhhhhhhhhhhhhhhhhhhh, it works.
@czw299 , Good Job :)
It seems that it crash on PC that without DirectX 12, And unfortunately, the version of DirectX on my PC is version 12 ... :(
I modify the source code according to your comment,
and push a new version 3.1.0
to pub.dev.
Could you please help try it on your Windows 10 again? Thanks.
dependencies:
video_player_win: ^3.1.0
3.1.0 Works fine. Thanks😊
I tested it fine on Windows 11, and after installing Windows 10 22H2(19045.2846) on the same computer, it crashed. The crash may have been caused by ucrtbase.dll. I'm not sure. Maybe need some dll?