I have tried these switches when compiling DLL and exe, but there is no change. Same exceptions. Daniel