View Full Version : SQLRTInitialize() and SQLRT.ini

06-15-2004, 02:20 PM
How does one define SQLRT.ini file?
What are the expected sections and value-key pairs within those sections?

In following InstallScript example, I am getting an error 0x80040702, Failed to load DLL: ISSQLSVR when calling SQLRTInitialize() even though I had added ISSQLSvr.DLL to Support Files view/Language Independent:

//First initialize SQL Server runtime
szSettingsFile = SUPPORTDIR ^ "SQLRT.ini";
SQLRTInitialize( szSettingsFile );

//Get the names of all the necessary connections
listConnections = SQLRTGetConnections();
ListGetFirstString (listConnections, szConnection);