Memory leak inside library / DLL lazarus / 62-General ---------------------------------------------------------------------- mtournay · 2022-04-05 14:38 Hi there I know exactly how to use debug heaptrc mode to track my memory leaks, and I don't have any in my programs On the other hand, as far as DLLs are concerned, I have no idea how to do it, the trace file is created when you quit the main program I don't know what to do or which option to activate to find my leak in this DLL (the program which uses the DLL is a service under windows which does not have leaks) Would you have any advice? best regards ---------------------------------------------------------------------- Zvoni · 2022-04-05 17:42 Are you the author of the dll? ---------------------------------------------------------------------- AlexTP · 2022-04-06 06:42 You can create test projects, to test functions of DLL, to test them in usual EXE form. There, use heaptrc.