[quote user="Vincent Fatica"]
What exactly does this, from the system messages window, mean?
POLICY: Exception 2, job 'MG000003' deleted
I wrote the policy EXE and it always returns 0. Does "Exception 2" have some specific meaning?
[/quote]
P.S., The policy EXE uses the native DWORD (WINAPI *) (VOID) entry point signature. I often do that when C libraries aren't needed and many such apps worked flawlessly for years under XP. After switching to Win7, some of them (haven't figured out rhyme or reason) don't work flawlessly ... they reach a "return" (from the entry point), the main thread ends (according to the debugger, and I'm not creating other threads), but the app doesn't terminate. But I don't think that's happening in this case for several reasons ... (1) the policy EXE tests OK, (2) there aren't zombie instances of it running, (3) the "POLICY: Exception" message occurs 1-2 seconds after the mail arrives, and (4) the docs say that when a policy hangs, Mercury treats the message as OK.
- Vince
[quote user="Vincent Fatica"]<p>What exactly does this, from the system messages window, mean?</p><p>&nbsp;POLICY: Exception 2, job 'MG000003' deleted</p><p>I wrote the policy EXE and it always returns 0.&nbsp; Does "Exception 2" have some specific meaning?</p><p>[/quote]</p><p>P.S., The policy EXE uses the native DWORD (WINAPI *) (VOID) entry point signature.&nbsp; I often do that when C libraries aren't needed and many such apps worked flawlessly for years under XP.&nbsp; After switching to Win7, some of them (haven't figured out rhyme or reason) don't work flawlessly ... they reach a "return" (from the entry point), the main thread ends (according to the debugger, and I'm not creating other threads), but the app doesn't terminate.&nbsp; But I don't think that's happening in this case for several reasons ... (1) the policy EXE tests OK, (2) there aren't zombie instances of it running, (3) the "POLICY: Exception" message occurs 1-2 seconds after the mail arrives, and (4) the docs say that when a policy hangs, Mercury treats the message as OK.</p><p>&nbsp;- Vince
</p>