Hi again. Just in case anyone is interested, it seems that I solved it, (at least now I can't reproduce it). My solution uses 4 projects. 3 of them used C++ exceptions and one did not. So I enabled C++ exceptions and for the other one and it seems that now everything is Ok. Panagiotis Papadakos