Hi,<br><br>The following code works:<br><br>> type ServiceMainClosure = DWORD -> IO ()<br>> <br>> foreign import ccall "wrapper"<br>> mkServiceMainClosure :: ServiceMainClosure -> IO (FunPtr ServiceMainClosure)
<br><br>But the following doesn't:<br><br>> type ServiceMainClosure = DWORD -> [String] -> IO ()<br>
> <br>
> foreign import ccall "wrapper"<br>
> mkServiceMainClosure :: ServiceMainClosure -> IO (FunPtr ServiceMainClosure)<br>
<br>System\Win32\Service.hsc:108:8: parse error on input `import'<br><br>What can I do to get this to work?<br><br>Thanks<br><br>-John<br><br>