草庐IT

directory_name

全部标签

c - DLL 函数未导出 : Unable to find an entry point named TestFunc

我正忙于了解一点点C/C++,并与C#互操作。我已经检查了几个创建简单的Win32DLL并从C#使用它的示例,但是当我尝试调用我的DLL时,我收到运行时错误:“无法找到名为TestFunc的入口点”。我的DLL看起来像这样,我从一个Win32DLL项目创建它,带有空项目选项:标题:__declspec(dllexport)intTestFunc(char*,char*,char*);代码文件:#include"stdafx.h"#include"TestLib.h"__declspec(dllexport)intTestFunc(char*arg1,char*arg2,char*arg

windows - Active Directory 中是否存在任何主键(或)唯一键?

我正在从PowerShell运行以下命令:Get-ADUser-Serverad.com-Filter'*'-Properties'*'Export-Csv'C:\Users\myFolder\file.csv'-NoTypeInformation-Delimiter'|'只是试图确定我可以用作“主键”的属性,例如EmployeeID或EmployeeNumber。广告属性列表:[链接]AD是否提供主键? 最佳答案 如果您需要用户和组条目中的唯一值,您可以查看属性objectSID.LDAP字符串表示是OctetString,但您可

c++ - 在 windows7 : "no such file or directory" 上使用 mingw32 编译 Qt 4.8.5

我正在尝试在Windows7上使用mingw32编译器从源代码构建qt-4.8.5(开源)。“配置”工作正常,但编译(mingw32-make)失败并显示以下输出:D:\development\qt-4.8.5-mingw>mingw32-makecdsrc/tools/bootstrap/&&D:/development/MinGW/bin/mingw32-make.EXE-fMakefilemingw32-make.EXE[1]:Enteringdirectory'd:/development/qt-4.8.5-mingw/src/tools/bootstrap'D:/develo

c# - 通过 .NET 连接到 Active Directory

我有一个带有ActiveDirectory的虚拟机,我想使用.NET连接到它,我已经连接到运行OpenLDAP的ubuntu机器,但是当连接到AD时它工作不顺利。我尝试连接的代码如下:vardirectoryEntry=newDirectoryEntry("LDAP://192.168.1.1",@"EXAMPLE\Administrator","Abc1234");try{vartest=directoryEntry.NativeObject;}catch(Exceptione){System.Diagnostics.Debug.WriteLine(e.Message);}观察本地窗

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之外的所有安装

python - cx_Freeze 5.0 : ImportError: No module named 'scipy.__config__'

问题尝试运行使用cx_Freeze构建的.exe时出现以下错误:File"C:\\WinPython-64bit-3.5.2.3Qt5\python-3.5.2.amd64\lib\site-packages\scipy\__init__py",line105infromscipy.__config__importshowasshow_configImportError:Nomodulenamed'scipy.__config__'Duringhandlingoftheaboveexception,anotherexceptionoccurred:...File"C:\\WinPyth

windows - Jekyll 服务转换错误 "No such file or directory"

我关注了installationinstructionsforWindows,使用“rouge”语法荧光笔。我用“jekyllnew”创建了新站点并更改为该文件夹。但是,当我尝试运行“bundleexecjekyllserve”时,出现以下错误,我用谷歌搜索却没有结果。Generating...JekyllFeed:GeneratingfeedforpostsConversionerror:Jekyll::Converters::Scssencounteredanerrorwhileconverting'assets/main.scss':Nosuchfileordirectory@r

windows - Git,切换分支时出现错误 : "Deletion of directory ' <dirname >' failed. Should I try again?" Started after I set custom folder icon

我在Windows上使用gitbash(v1.7.10msysgit)。前几天我在我的repo协议(protocol)中的一些子文件夹上设置了一些自定义文件夹图标,从那时起我就不能再在分支之间切换而不会出现如下错误:blake@ComputerName/c/csharp(AD_NativeRefactor)$gitcheckoutmasterDeletionofdirectory'AllertFullfillmentDB'failed.ShouldItryagain?(y/n)n失败的目录并不总是相同的,但它始终是我设置自定义图标的3个子文件夹中的一个。此后我删除了自定义图标并恢复默认

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