Jump to content

_WinAPI_ReadDirectoryChanges() and ProccessClose()


Recommended Posts

so, testing with _WinAPI_ReadDirectoryChanges() example, I see that _WinAPI_CreateBuffer() is used but _WinAPI_FreeMemory() is not called on the OnAutoItExit() part of the code, probably AutoIt cleans it self.

So what is my question?, due it's "only in synchronous mode" operation, if I, repeatedly, processClose() the PID, will I crash the PC over time due to the buffer reserved for, now no one ?, or will the OS reclaim all that after ProcessClose() ?

Your experience with kernel32.dll is greatly appreciated.  ( see forum/topic/167024-rdc-udf-readdirectorychanges-wrapper/?do=findComment&comment=1351378 for the original dilemma I'm trying to handle ) 

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...