I´m working with sage 50 CA 2016 SDK, and i have a problem with database connection.
When I run this code in a console application successfully opens the connection, but when I run the same code in a Winform application , does not open the connection, return false.
And I have a theory, that is because the connection one way or another , is open. But I do not know how to get my connection status (open or closed ).
if (SDKInstanceManager.Instance.OpenDatabase(pSaiFile, pUsername, pPassword, false, "Sage 50 SDK Sample Program", "SASDK", 1))
Somebody could help me? i´m working with C#.