ClamWin Free Antivirus Forum Index
ClamWin Free Antivirus
Support and Discussion Forums
Reply to topic
Using libclamav.dll with MSVC or Borland C++ 6
aureliuhan


Joined: 13 Nov 2006
Posts: 1
Reply with quote
Hello,

I have a question for you, maybe somebody can help me. I have downloaded the win32 native version of libclamav.dll and I tried to use it in C++ Builder 6. I have converted the lib file to import it to borland . At compile time evrything is ok, but, when I try call a fuction from the dll the applictaion is charched.

I thaught that is something wrong and I tried to import the dll into Visual Studio 2005 and the result was an error.
e.g. The dll cannot be add as reference...

Is there any body who can help me with an ideea?

Thank you very much
View user's profileSend private message
budtse


Joined: 14 Jan 2006
Posts: 372
Location: Belgium
Reply with quote
Hi,

Several binaries for native libclamav are available (thanks to Sherpya) at http://oss.netfarm.it/clamav/ http://oss.netfarm.it/clamav/. I used these successfully with both Visual C++ 6.0 and Visual C++ 2005 Express Edition.

They may not be up-to-date (containing the latest clamav engine), but you can use them for development.

Hope this helps.
View user's profileSend private message
sherpya


Joined: 22 Mar 2006
Posts: 898
Location: Italy
Reply with quote
hmm I suspect that borland may not be compatible with msvcrt80
try using vc2005, also the calling convention can be different, borland may use pascal calling while
msvc cdecl
View user's profileSend private message
Using libclamav.dll with MSVC or Borland C++ 6
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic