Well, I was making a standalone app (I almost always make stand-alones) when I thought it'd be cool to add a Save App option.
I used the CopyFile() function to copy the running exe to another exe depending upon the user's choice. As it turns out Kaspersky Antivirus is flagging my app as trojan (wth?!).
I found out when I comment out the CopyFile() code, it's marked as clean but upon adding the CopyFile() it's again flagged as trojan.
I wanna know is there any workaround for this (I hate my formatting app being framed as a trojan) or it should be reported to the antivirus?
I'm pretty well aware it's a trojan-like (or worm-like) activity to be copying itself, but what if I want to treat my standalone as a file being able to save copies on a Flash Drive or something.
AFAIK trojan's copy their binary data over other files header while I'm just simply copying the file.