i tried to use the mysqlmonitor -- but i get this error when setting IsActive to true:
"failed to set the specified COM apartment state"
Using .NET 2005 Beta 2.. and MySQLDirect 3.0
any ideas?
Jon
mysqlmonitor "failed to set the specified COM apartment state"
-
- Posts: 27
- Joined: Sat 28 May 2005 20:37
You have to use [MTAThread] attribute:
Code: Select all
[MTAThread]
static void Main()
{
...