Microsoft Security Essentials and PureBasic

Share your advanced PureBasic knowledge/code with the community.
Ramihyn_
Enthusiast
Enthusiast
Posts: 314
Joined: Fri Feb 24, 2006 9:40 am

Microsoft Security Essentials and PureBasic

Post 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.
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Microsoft Security Essentials and PureBasic

Post by IdeasVacuum »

Very good advice. I have added the compiler and debug exe files too.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
buddymatkona
Enthusiast
Enthusiast
Posts: 252
Joined: Mon Aug 16, 2010 4:29 am

Re: Microsoft Security Essentials and PureBasic

Post 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
Post Reply