This sample code is not currently included in the pods.zip file referenced in Downloading and working with the PODS sample files. This sample shows how you can write code that exits M-Business Client.
// vtable void (*m_exit)(PODSObject*); |
// new method PODS_SET_METHOD(self->vtable, exit, MenuObjectExit); |
// GetMethod if (0 == strcmp(methodName, "exit")) { *methodSignature = ""; return (PODSMethod)MenuObjectExit; } |
// method static void MenuObjectExit(PODSObject *podsObj) { MenuObjectDestroy( podsObj ); PostQuitMessage( 0 ); } |
Send feedback about this page using email. | Copyright © 2008, iAnywhere Solutions, Inc. |