I cannot add Everything.dll to C#(VS2010)

Plug-in and third party software discussion.
Post Reply
mind
Posts: 1
Joined: Sun Aug 04, 2013 3:54 pm

I cannot add Everything.dll to C#(VS2010)

Post by mind » Sun Aug 04, 2013 4:02 pm

Hello all !
I interested in "Everything_SDK" on voidtools.com, I downloaded it yesterday and ran by C#. Code are great but I cannot use "Everything.dll" to project, the operation fail (see image below)
I wanna see the core of this problem that i can't see.
Thanks alot !
p.s: My system: Win 8 x64. Visual Studio 2010 Ultimate
Image

DodgeSP
Posts: 1
Joined: Fri Sep 13, 2013 6:54 am

Re: I cannot add Everything.dll to C#(VS2010)

Post by DodgeSP » Fri Sep 13, 2013 6:56 am

Win7x64 VS2012
a similar situation. :(

itFranck
Posts: 4
Joined: Fri Feb 08, 2013 7:59 pm

Re: I cannot add Everything.dll to C#(VS2010)

Post by itFranck » Thu Sep 26, 2013 12:59 am

Look at the C# example in the SDK or here : http://support.voidtools.com/everything/SDK/CSharp

You cannot import the DLL as a reference because it is not a .net wrapped DLL.
You need to add the dll to the project (as a standard file) and select "Copy to output directory" option in the dll properties.
Then, you can use the DLLImport statement (as seen on the above link) to be able to use the functions in your custom application.

Make sure to use X86 as target platform or you will get badformatexception errors.
Also, the example didnt returned any results for me until I used "run as administrator" to launch it (even as administrator and UAC disabled).

Tested in Vs 2013 RC on WIndows 8.1 x64

Post Reply