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
|
|