argumentum

_WinAPI_ReadDirectoryChanges() and ProccessClose()

1 post in this topic

#1 ·  Posted

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 ) 

Share this post


Link to post
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