Like #20455 by devinder Tue Feb 20, 2007 9:12 am A1) The code is correct. A2) Un-initialized fields in DataCAD's DCAL wrapper functions causes this crash. Devinder S Verman DATACAD LLC Username devinder Rank DATACAD LLC Posts 545 Joined Fri Feb 11, 2005 3:58 pm Location DATACAD LLC Contact