Problem: If my Fortran add-on code writes to the console (using for example WRITE(* *) it crashes Tecplot.
Solution: Add the following to your InitTecAddOn routine: INTEGER*4 I INTERFACE FUNCTION AllocConsole() USE DFWINTY integer(BOOL) :: AllocConsole ! BOOL!DEC$ ATTRIBUTES DEFAULT STDCALL ALIAS:_AllocConsole@0::AllocConsole END FUNCTION END INTERFACE I = AllocConsole()