title: Compiling flex file into dll
body: <p>I've got a lexer created with flex (cygwin). Normally I compile it to an .exe file. </p>
  
  <p>For the newest project I need a lexer to use in a bigger C# program running on Windows XP. Of course I can execute a file using System.Diagnostics.Process. But it is not the best solution for me as I want that program to run on several machines.</p>
  
  <p>How can I create a dll under cygwin having the source code of the lexer? </p>
  
  <p>Thanks in advance...
  Szpilona</p>