Hi, > If ExitProcess is a function without a return value, then > the return statement you write in the example below is not valid. So > the > compile error is justified. > > Or am I missing something ?
Bad example code ;-), the return was a left over I shouldn't have added Try to just call ::ExitProcess(3); Without the return Johnny ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel