Have you defined the dll-functions? And if it still doesn't work try open the A6mysql.dll manually from main.