 | Using libclamav.dll with MSVC or Borland C++ 6 |  |
aureliuhan
Joined: 13 Nov 2006 |
Posts: 0 |
|
|
 |
Posted: Mon Nov 13, 2006 3:33 pm |
|
 |
 |
 |
 |
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
|
|
 |
 | |  |
budtse
Joined: 14 Jan 2006 |
Posts: 0 |
Location: Belgium |
|
 |
Posted: Tue Nov 14, 2006 3:12 pm |
|
 |
 |
 |
 |
Hi,
Several binaries for native libclamav are available (thanks to Sherpya) at https://oss.netfarm.it/clamav/ https://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.
|
|
sherpya
Joined: 22 Mar 2006 |
Posts: 0 |
Location: Italy |
|
 |
Posted: Tue Nov 14, 2006 3:33 pm |
|
 |
 |
 |
 |
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
|
|
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
|
|
|
Powered by
phpBB © phpBB Group
Design by
phpBBStyles.com |
Styles Database.
Content © ClamWin Free Antivirus GNU GPL Free Software Open Source Virus Scanner. Free Windows Antivirus. Stay Virus Free with Free Software.