The Engine object creation in C#.NET

Question

What should I do if I have got problems while creating the Engine object in C#.NET?

Solution

Make sure to specify [STAThread] (single-thread apartment model) as an attribute on your application's main function:

[STAThread]

public static void Main()
{
  ...
}

Was this article helpful?

0 out of 1 found this helpful

Have more questions? Submit a request

Recently viewed