[quote user="Vincent Fatica"]
Here's a resident daemon's startup function:
SHORT DAEMONEXPORT startup (M_INTERFACE *mi, UINT_32 *flags, CHAR *name, CHAR *param)
{
mi->logstring(10, LOG_DEBUG, "KeepAliveUI0 loaded");
CloseHandle(CreateThread(NULL, 0, KeepAliveThread, NULL, 0, NULL));
return 1;
}
It is being called; the thread is started and does its intended job. But I find no log entry in "System messages". Any ideas?
Thanks.
[/quote]
If I change the priority to LOG_URGENT, the entry does appear in "System messages".
[quote user="Vincent Fatica"]<p>Here's a resident daemon's startup function:</p><blockquote>SHORT DAEMONEXPORT startup (M_INTERFACE *mi, UINT_32 *flags, CHAR *name, CHAR *param)
{
&nbsp;&nbsp;&nbsp; mi-&gt;logstring(10, LOG_DEBUG, "KeepAliveUI0 loaded");
&nbsp;&nbsp;&nbsp; CloseHandle(CreateThread(NULL, 0, KeepAliveThread, NULL, 0, NULL));
&nbsp;&nbsp;&nbsp; return 1;
}
</blockquote><p>It is being called; the thread is started and does its intended job.&nbsp; But I find no log entry in "System messages".&nbsp; Any ideas?</p><p>Thanks.
</p><p>[/quote]</p><p>If I change the priority to LOG_URGENT, the entry does appear in "System messages".</p><p>&nbsp;</p>