on 07-16-2004 1:55 AM
I get the error message 'General Failure' when I try to get the Connection Context from the UI 6.5 using Delphi 6.
...
// Acquire the connection context cookie from the DI API.
Cookie := vCmp.GetContextCookie; '
Memo1.Lines.Add(SBO_Connection.Company.DatabaseName); // works fine
//Retrieve the connection context string from the UI API using the acquired cookie.
conStr:=SBO_Connection.Company.GetConnectionContext(Cookie);
This call fails.
Has anyone an idea how to solve this problem?
Thanks
Ensure the variables Cookie and conStr are of type WideString, not a standard String. I had the same problem. You need to be quite careful about the variable types when using Delphi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.