Hi All, I am trying to run a code in 4D v16.4 and get The pointer is not properly initialized Error from 3 separate lines.
This is the code as follows C_POINTER($4;$arg) ..... ..... $arg:=$4 Case of : ($event=imageSaved) C_TEXT($imagePath) $imagePath:=$arg-> //This line throws pointer not initialized error : ($event=resolution) //Resolution - $arg-> is array longint[2] (horz, vert res) ...................... $arg->{1}:=gResolution //This line throws pointer not initialized error $arg->{2}:=gResolution ...................... : ($event=pixelFormat) //format - $arg-> is longint If (gFormatsPopup>0) $arg->:=gFormats{gFormatsPopup} //This line also throws pointer not initialized error It throws the error in those 3 different places causing 4D to crash Any idea about how to make this work? Thanks & Regards Nisha Fernando -- Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html ********************************************************************** 4D Internet Users Group (4D iNUG) New Forum: https://discuss.4D.com Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************