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()
{
  ...
}

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.