I have a problem since 2017 when I compile and run example code:
Code: Select all
EnableExplicit
If OpenWindow(0,0,0,500,250,"Window",#PB_Window_SystemMenu|#PB_Window_ScreenCentered)
ListIconGadget(1,10,10,480,230,"",100,#LVS_NOCOLUMNHEADER)
Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf
Even starting PureBasic as portable there seems to be a file generated in C:\Users\USER\AppData\Local\Temp\.
O.k., is users folder; so maybe o.k.
First error is: "POLINK: fatal error: The system can not find file".
Antivirus complains then about "C:\Users\USER\AppData\Local\Temp\~092E60D.TMP"; which is cleared by anti virus protection.
When I do all the same with PureBasic 5.51 x64 nothing happens.
Behaviour is both for portable start and start of installed PureBasic.exe.
What file is "PB_EditorOutput.pb" after compiling?
This is created still in "C:\Users\USER\AppData\Local\Temp\".
Can this be re-set to another folder?
So, how can I fix this antivirus problem?
More a problem of McAfee antivirus?
And why only x86?
Any hints greatly apreciated!
Thanks a lot!