I have the followin code in a thread in a service.
While not terminated do
hMemFile := OpenFileMapping(FILE_MAP_READ, False, PChar(InMemFileName));
if hMemFile = 0 then
When RaiseLastWin32Error is called the exception part is not executed instead the thread just stops ?
What am I missing here ?