Page 1 of 1

Statically linking the library

Posted: Thu Feb 25, 2021 4:13 pm
by Ciantic
Hello,

I don't like dragging DLLs with my executables, and I'd like to statically link the Everything64.lib.

Currently I'm using MemoryModule to load library the Everything64.dll within my binary, so it appears as statically linked. This is a bit of a hack though.

Would you mind giving statically linked .lib as alternative?

I don't see much of an intellectual property issue here because the DLL isn't the implementation, it's just a way to connect to the Everything that must be running anyway.

Thanks for considering! Great tool.

Re: Statically linking the library

Posted: Thu Feb 25, 2021 8:16 pm
by Ciantic
Well, somehow I missed that there is `Everything.c` provided already.

It was easy to statically link using that... I made a simple rust crate that does that: https://crates.io/crates/everything-sys