[clamav-win32] libclamav.dll & VB6

Sarocet sarocet at gmail.com
Tue Jan 13 16:20:16 CET 2009


Aniello Di Nardo wrote:
> Hi, 
>
>  
>
> I've created a little program in VB6 for file scanner using the ClamD TCP/IP
> daemon on 3310 port. 
>
>  
>
> My questions are: 
>
>  
>
> 1 - It's possible to use libclamav.dll in a VB6 App? 
>
> 2 - If is possible, how to declare and use the libclamav.dll in a .bas
> module? 
>
> 3 - There are a small samples code for this? 
>   
No. libclamav.dll uses __cdecl. VB can only call stdcall dlls. You would
need at least a proxying dll.
The datatypes would probably be hard to mimic. many structures. Although
perhaps the proxying dll
could allocate it. Which functions did you want to use?



More information about the clamav-win32 mailing list