i'm creating a program using Code Blocks with GNU\GCC compiler.
i'm using Windows 10 with Windows Defender.
my program create a txt files(instead a text files, we can speak binary files too), but the Windows Defender can delete the file(and i have sure), for avoid these problem i must disable the Windows Defender.
my question is: can i compile my program(even using a compiler\linker flag) for avoid the Windows Defender problems?
ok.... i can disable the Windows Defender and make an exception.... but if i share my program, the new user will get the same problem :(
can anyone advice me more?
cambalinho
125
Practically a Posting Shark
Recommended Answers
Jump to PostI'm going with "not enough detail about the problem." It's like I put a blindfold on you and asked you to describe the animal.
Remember the story of three blind men and an elephant?
Windows is heading towards app signing. This may be easier with Visual Studio and no, I …
Jump to PostStill too little detail. Text files have not raised Windows Defender issues here. But if I were to write in system folders then I bet WD would complain.
As to use a win32 function I'm going with no because if it was that easy to disable WD, then WD and …
Jump to PostBut if I were to write in system folders then I bet WD would complain.
That would result in a UAC popup rather than an alert/response from Windows Defender. I have written quite a few applications in c, vb.net c#, python, etc. I have never had to sign …
Jump to PostMy guess is that WD wouldn't be flagging it unless it had a signature matching a known virus. As I said before, typically UAC intercepts any attempts to write to protected folders.
All 16 Replies
rproffitt
2,565
"Nothing to see here."
Moderator
cambalinho
125
Practically a Posting Shark
rproffitt
2,565
"Nothing to see here."
Moderator
cambalinho
125
Practically a Posting Shark
rproffitt
2,565
"Nothing to see here."
Moderator
rproffitt
2,565
"Nothing to see here."
Moderator
cambalinho
125
Practically a Posting Shark
rproffitt
2,565
"Nothing to see here."
Moderator
cambalinho
125
Practically a Posting Shark
rproffitt
2,565
"Nothing to see here."
Moderator
Reverend Jim
commented:
Say no more.
+15
wwwalker
49
Newbie Poster
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
rproffitt
commented:
cambalinho needs to share how we can duplicate the issue. Without details, I would be guessing but you can get WD to pop up under many conditions.
+15
cambalinho
125
Practically a Posting Shark
rproffitt
2,565
"Nothing to see here."
Moderator
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
rproffitt
commented:
Above there's a passage "close the exe" so we're left to guess it is some executable. But what is it? OP needs to spill the beans.
+0
cambalinho
125
Practically a Posting Shark
rproffitt
commented:
Please tell a lot more. It hampers getting to what's going on. And no.
+15
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.