Can you check whether LlJobClos is called on time? We suspect that the job may be closed very late. Please try to call LlJobClose earlier, e.g. when closing the form.
The four objects don’t sound too dramatic to me - if this number doesn’t increase with the number of prints. Memory will be released during shutdown anyway. If you want to make sure feel free to post a log file here or get in touch with support - we might need a sample as we cannot reproduce this debug output here.
Yes, the count is always 4. So I will not investigate it further then.
Just one more question. I’m setting the cmll22.dll as delay loaded DLL. Setting it also for delay unload doesn’t work. Is it even supported by L&L? I was thinking that maybe tha “four objects” mentioned above prohibited the delay unload.
It’s possible that this is related - the question is when the DLL should be unloaded again. If you are using C++, … __FUnloadDelayLoadedDLL2("cmll22.dll");
…should be called, according to this documentation.
So I made a simple test case, calling only LlJobOpen() an LLJobClose() and it is the same.
Maybe there are some internal static objects or something. Anyway, given that delayed DLL loading is working ok, delayed unloading isn’t a big problem for us as we can cases where the memory usage is critical solve by other means.
Thanks Jozef - we’ll try to reproduce this with LL25 anyway, however I figure it’s not a problem for you. Feel free to come back if you’d like us to investigate this any further.