From e2e1c6a19358d9aeefead2ebceb483262182db4d Mon Sep 17 00:00:00 2001 From: NaBian <836904362@qq.com> Date: Sat, 14 Dec 2019 14:51:26 +0800 Subject: [PATCH] fixed #265 --- .../HandyControlDemo_Shared/ViewModel/Basic/ChatBoxViewModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Shared/HandyControlDemo_Shared/ViewModel/Basic/ChatBoxViewModel.cs b/src/Shared/HandyControlDemo_Shared/ViewModel/Basic/ChatBoxViewModel.cs index 65c31f5f..ea624f86 100644 --- a/src/Shared/HandyControlDemo_Shared/ViewModel/Basic/ChatBoxViewModel.cs +++ b/src/Shared/HandyControlDemo_Shared/ViewModel/Basic/ChatBoxViewModel.cs @@ -133,7 +133,7 @@ namespace HandyControlDemo.ViewModel } } - var cachePath = $"{AudioCachePath}\\{Guid.NewGuid().ToString()}"; + var cachePath = $"\"{AudioCachePath}\\{Guid.NewGuid().ToString()}\""; ExternDllHelper.MciSendString("stop movie", "", 0, 0); ExternDllHelper.MciSendString($"save movie {cachePath}", "", 0, 0); ExternDllHelper.MciSendString("close movie", "", 0, 0);