Is there any way to declare that a thread-local variable is also exported/imported to/from another DLL? When I use __declspec(thread) in combination with __declspec(dllexport/dllimport), MSVC complains about it.