Hi,

We have a compile problem when trying to use ExitProcess. Using it without
return works (see the example with value 3), but using it with return
results in a compile error (see 4). I think the ExitProcess should be an
inline function instead of a define.

Johnny

#include <windows.h>

int main (int argc, char*[])
{
 ExitProcess (3);
return ::ExitProcess (4);
}
~


------------------------------------------------------------------------------
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

Reply via email to