http://www.ousob.com --- Legacy Redefined #include <stdio.h> #include <nwconn.h> #include <nwlocal.h> #include <extend50.h> CLIPPER b_logout() { BYTE sendPacket[2], receivePacket[2]; int ccode; fcloseall(); *((int *)sendPacket) = 0; *((int *)receivePacket) = 0; ccode = _ShellRequest( (BYTE)215, sendPacket, receivePacket); _ret(); }