to create an exe, the AV stops it? Why doesn't the AV also stop
the temp exe created from compile/run? Not logical.

Many AV companies allow you to send in false positives so they can repair their detection engine, I did that with success once.PB wrote:Now I just have to find out what's triggering the false positive.
That normally means there is an exe of the same name already running - may be one that didn't terminate correctly? Check with Task Manager."POLINK: fatal error: Access is denied"
I had this when I started using regular expressions.PB wrote:I know, but that's too much hassle to report to them all.
It started after I added a single line of code to my source,
but now I can't remember what it was.I should've stopped
and commented it immediately, but I ignored it and kept coding.
Code: Select all
snap=CreateToolhelp32Snapshot_(#TH32CS_SNAPPROCESS,0)
Code: Select all
k32=OpenLibrary(#PB_Any,"kernel32.dll") ; Needed due to Avira.
If k32
;snap=CreateToolhelp32Snapshot_(#TH32CS_SNAPPROCESS,0) ; Avira hates this...
snap=CallFunction(k32,"CreateToolhelp32Snapshot",#TH32CS_SNAPPROCESS,0) ; ...so we do this instead!
If snap
[...]