Zaei - don't u need a def file when the function is

void _stdcall BlaBla
{


}

because C++ renames it anyway, with extern C {} no _stdcall, no def?