1. What is SUL_WaitForEndOfThread?
  2. What is LoadData? Why and how is it supposed to be called?
  3. What exactly gets this "access violation error": the compiler or your application?