If you want to save dynamically allocated memory between Unload and "Reload" of a DLL without quiting mIRC... Consider saving pointers, to dynamically allocated memory, in a window property, GetProp(hwnd, "PropName") and SetProp(hwnd, "PropName", propValuePtr), there is also a RemoveProp(hwnd, "PropName")....


NaquadaBomb
www.mirc-dll.com