View Single Post
  #2  
Old 29-12-2020, 03:47
Ele's Avatar
Ele Ele is offline
Registered User
 
Join Date: Nov 2020
Location: Near Mars
Posts: 93
Thanks: 89
Thanked 96 Times in 37 Posts
Ele is on a distinguished road
Quote:
Originally Posted by Cuttlas View Post
Hi
I use several plugins and modules within my setup, such as WinTB, botva2, progressBar, Trackbar.
They will use SetWindowLong and I should release them in the correct situation. But sometimes I do not know where to release and so on ... So the setup will delay on Exit and will close with an error in the debugger (most with 0xc000041d exit code).

How to trace the problem and release the WindowLong? any idea or similar Experience?
Some plugins require a proper exit like gdipShutdown for botva2, ISDoneStop for ISDone, etc. Otherwise it returns exit errors.

Example: (botva2)
Code:
procedure DeInitializeSetup;
begin
    gdipShutdown;
end;
Reply With Quote
The Following User Says Thank You to Ele For This Useful Post:
Cuttlas (30-12-2020)