AFAIK, only if the dll is done in FPC as well. Moreover the might be problems, if the dll and the main program don't use the same memory manager. By default they don't. This is handled somewhere in the Wiki. -Michael