"At close"
"At close"
I recall from days past there was a function that could be called whenever (and however) the application exited.. now I'm trying to find it out if I remember correctly, and if it was a windows-thing or just the compiler of the time... I sort of recall it being a trick, like registering the function, but it was actually called when the dll was unloaded...
Re: "At close"
Maybe you mean the Purebasic Example to create DLL's ?jassing wrote:I recall from days past there was a function that could be called whenever (and however) the application exited.. now I'm trying to find it out if I remember correctly, and if it was a windows-thing or just the compiler of the time... I sort of recall it being a trick, like registering the function, but it was actually called when the dll was unloaded...
(PB-Help)
Code: Select all
; Called when the program release (free) the DLL
;
ProcedureDLL DetachProcess(Instance)
EndProcedure
