You, my friend, are awesome!!!
https://postimg.org/image/niwt4d4qr/
Two things:
1) I've used
Quote: |
fd = open("C:\\notepad.exe", O_RDONLY) |
, here, there is double backslash, in my project, I generate file paths which are in normal format (i.e.: C:\notepad.exe), if i use the variable directly in virus scaning, say open(Path, O_RDONLY), would it be ok? or i have to add another backslash?
2) Looks like the database directory is now fixed, i.e: cl_load("D:\\AV\\AV\\AV\\AV\\Release\\database\\", engine, &sigs, CL_DB_STDOPT))...is there any way that it would append '\\Release\\database' to the current exe path?
Thanks a ton man! I cannot tell you how grateful I am to you

I really appreciate it.