Page 1 of 1

Microsoft Security Essentials and PureBasic

Posted: Fri Jun 08, 2012 12:12 pm
by Ramihyn_
Microsoft Security Essentials 4 slows down working with with PureBasic a lot in some cases. Starting with a debugger from the IDE will add a delay of several seconds. Do the following steps to fix this:
  • 1) open MSE and select the "Settings" tab
    2) click "excluded processes", select the file "polink.exe" from your PureBasic installation and "add" it. Save changes.
    3) click "excluded locations" and add the path where you create your own PureBasic executables. Save changes.
Link to MSE download : http://www.microsoft.com/security_essentials/

Tip: create your temorary executables via the "project options" inside the source directory and add your source directory in step 3)

ps: you may want to select the "MAPS" setting and switch to "i dont want to join MAPS" too.

Re: Microsoft Security Essentials and PureBasic

Posted: Sat Jun 09, 2012 12:34 am
by IdeasVacuum
Very good advice. I have added the compiler and debug exe files too.

Re: Microsoft Security Essentials and PureBasic

Posted: Sat Jun 09, 2012 4:48 am
by buddymatkona
This code is very handy because you can paste the Debug output into MSE Excluded Files And Locations all at once. :)
From a Danilo post:

Code: Select all

pbDir$ = #PB_Compiler_Home

Debug pbDir$+"PureBasic.exe;"
Debug pbDir$+"Visual Designer.exe;"
Debug pbDir$+"Compilers\"+"pbcompiler.exe;"
Debug pbDir$+"Compilers\"+"PBDebugger.exe;"
Debug pbDir$+"Compilers\"+"PBDebuggerUnicode.exe;"
Debug pbDir$+"Compilers\"+"FAsm.exe;"
Debug pbDir$+"Compilers\"+"porc.exe;"
Debug pbDir$+"Compilers\"+"polib.exe;"
Debug pbDir$+"Compilers\"+"polink.exe;"

tmp$ = GetEnvironmentVariable("TEMP")

For i = 0 To 9
    Debug tmp$+"\PureBasic_Compilation"+Str(i)+".exe;"
Next