Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQLDriverConnect doesn't return a connection string...

Status
Not open for further replies.

bgruver

MIS
Oct 30, 2000
14
US
I'm trying to establish a connection to a specific DSN using the ODBC API. Within a call to SQLDriverConnect I pass the value "DSN=MyConectionName;". The call returns successfully and the value of 'StringLength2Ptr ' returns a number, which to me says there is a connection string being found. The value within the string variable in which the connection should be placed is an empty string. Any thoughts?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top