rmuch / ClamAV.Managed

ClamAV bindings for the .NET Framework, Mono and PowerShell. ClamAV.Managed is a library written in C# for the .NET Framework and Mono, providing managed bindings for the libclamav interface. It includes ClamAV.Managed.PowerShell, a set of PowerShell cmdlets for ClamAV scanning. It comes with sample code for building a GUI virus scanner application.
GNU General Public License v2.0
20 stars 8 forks source link

Incompatibility with official ClamAV Windows binary distribution #4

Closed rmuch closed 8 years ago

rmuch commented 10 years ago

Numerous issues when trying to use ClamAV.Managed with the official build(s) of libclamav available at http://sourceforge.net/projects/clamav/files/clamav/win32/. Experienced with 0.98.3.

When hosting the win32 (32-bit) build of libclamav, cl_load will always return CL_EMEM.

Attempting to host the 64-bit build results in a BadImageFormatException.

Needs further investigation.

rmuch commented 8 years ago

TODO: Check whether this issue still occurs with the latest Windows builds available (currently 0.99.1).

rmuch commented 8 years ago

Tested with the newest official build clamav-0.99.2-win32.zip and clamav-0.99.2-x64.zip, works fine.