IF llStartApp DECLARE INTEGER GetLastError IN kernel32 DECLARE INTEGER CloseHandle IN kernel32 INTEGER hObject DECLARE INTEGER CreateMutex IN kernel32 INTEGER lpMutexAttributes, INTEGER lInitialOwner, STRING lpName IF VARTYPE(oAppObj.oMutex.NAME) = "C" MESSAGEBOX('Starting') DO set_time WITH prefs.set_time, prefs.nosay_time DO SomeManager_menu.mpr ** put a bunch of messageboxes here as well ...The application is started OK, but I see 0 messageboxes. Which probably means this code is never executed and I need to find out where exactly the startup code of the application is.