Hi It seems that under xp (both 32 and 64 bit) elc.dll cannot be loaded with LoadLibrary: http://redplait.blogspot.com/2012/05/ecldll.html I think __declspec(thread) for GC_thread_key must be rewritten to use explicit TLS allocation scheme to solve this problem