OK, as follows: extern __declspec(dllimport) void(*test)(); void(*test)(); int main() { } 2012/7/24 João Matos <ripzonetriton at gmail.com>: > Can you provide a reduced test case that triggers the assert?