草庐IT

FRAMEWORK_NAME

全部标签

Windows shell : How can I get the audio device(s) name(s)?

Iamnotsureifthisisstrictlyaprogrammingquestion,aslongasIdon'tmindtouseadditionalsoftwareinordertosolvetheproblem,aslongasitkeepsbeingscriptableorcommand-line(thisis:anotGUIsolution).Anyway,Ihavepostedanother(abitdifferent)questionatSuperUser.Bytheway,IwillupdatehereifIgettheanswerthere.我的Windows

python - 让 Scapy 在 Windows 上工作时出错 : "' module' object has no attribute 'ex_name' "

我正在尝试运行一个涉及ARP嗅探的Python脚本,并且显然依赖于存在的Scapy库。我完全不知道自己在做什么,但我相当擅长谷歌搜索、遵循指示和复制/粘贴。我已经在我的Mac上启动并运行了它,但我仍然坚持我希望这是让Scapy在我的Windows计算机上工作的最后一个障碍(这最终是需要运行此脚本的计算机)。我遵循了http://www.secdev.org/projects/scapy/doc/installation.html#windows中的所有说明。,除了我选择了Python2.7并使用了那里列出的所有内容的更新的2.7兼容版本。我在除Pypcap和Libdnet之外的所有安装

c - IoCreateSymbolicLink 何时返回 STATUS_OBJECT_NAME_COLLISION

当我调用IoCreateSymbolicLink时失败,状态为STATUS_OBJECT_NAME_COLLISION。我的驱动程序中有代码,我试图在NT和DOS之间创建符号链接(symboliclink)名称。一般什么时候会出现这个错误?RtlInitUnicodeString(&deviceName,L"\\Device\\StreamEitor");RtlInitUnicodeString(&symbolicLinkName,L"\\DosDevices\\StreamEitor");status=IoCreateDevice(driverObject,0,&deviceName

windows - Knife 窗 : Network Error: getaddrinfo: Name or service not known (windows:22)

我有一个Ubuntu工作站,我正在尝试引导一个Windows节点。Windows节点在端口2222上打开了ssh。我一直在关注http://docs.opscode.com/plugin_knife_windows.html.ateetor@ateetor-virtual-machine:~/chef/chef-repo$sudogeminstallknife-windows--http-proxy=[REMOVED]Successfullyinstalledknife-windows-0.5.121geminstalledInstallingridocumentationforkni

c# - 更好地处理丢失的 .NET Framework (0xc0000135) 崩溃?

当尝试在未安装正确.NETFramework的WindowsXP安装上启动C#/.NET应用程序时,应用程序会崩溃并显示以下消息:---------------------------ThisApp.exe-ApplicationError---------------------------Theapplicationfailedtoinitializeproperly(0xc0000135).ClickonOKtoterminatetheapplication.---------------------------OK---------------------------老实说,这

windows - 如何使用 WiX Burn 在 Windows 8 和 Windows Server 2012 上安装 .NET Framework 3.5?

WiX手册包括“HowTo:Installthe.NETFrameworkUsingBurn”。但是,这些说明似乎不适用于在Windows8、WindowsServer2012和更高版本的操作系统上安装.NETFramework3.5。参见thisStackOverflowquestion特别是thiswix-usersmailinglistdiscussion了解详情。Microsoft.NETFramework3.5Servicepack1(FullPackage)installer不会运行,因为你需要使用DeploymentImageServicingandManagement(

c# - 在 WPF .NET Framework 中使用自定义任务管理器时,如何防止进程重复?

usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;usingSystem.Threading.Tasks;usingSystem.Windows;usingSystem.Windows.Controls;usingSystem.Windows.Data;usingSystem.Windows.Documents;usingSystem.Windows.Input;usingSystem.Windows.Media;usingSystem.Windows.Media.Imaging;

python - Pyinstaller导入错误: cannot import name 'dist' on Windows

我正在尝试使用Pyinstaller(3.3版)在Windows(8.1版)上将Python(3.6版)项目构建到单个exe文件中。该项目包括PyQt5、numpy、matplotlib依赖项。Pyinstaller写道:BuildingEXEfromout00-exe.toccompletedsuccessfully.但是当我运行exe文件时,我得到:...File"distutils\__init__.py",line44,inImportError:cannotimportname'dist'[6748]Failedtoexecutescriptmyproj第44行的文件"dis

c++ - MinGW C++ : Reading a file with non-ascii file name

简单任务:我想读取一个文件名不是ascii的文件。在linux和MacOS上,我只是将文件名作为UTF-8编码字符串传递给fstream构造函数。在Windows上,这会失败。正如我从thisquestion中了解到的那样,windows根本不支持utf-8文件名。但是,它提供了一个自己的非标准open方法,该方法采用utf-16wchar_t*。因此,我可以简单地将我的string转换为utf-16wstring并且没问题。然而,在MinGW标准库中,fstream的wchar_t*open方法根本不存在。那么,如何在MinGW上打开一个非ascii文件名?

windows - 使用 PowerShell 重置 'Friendly Name' 证书属性

我需要一个证书的FriendlyName在证书控制台中设置为空值FriendlyName列将显示.使用此代码我所能得到的只是列中的空值,而不是我需要。gci"Cert:\LocalMachine\My"|?{$_.Subject-like"CN=mycer*"}|%{$_.FriendlyName=''}我也试过$_.FriendlyName=$null这没有什么区别。奇怪的事情-当我清除FriendlyName使用控制台,然后从Powershell的角度来看,该值为''因为以下语句会产生True:write-host($_.FriendlyName-eq'').然而,'''反之亦然应