Using .UDL Files with Visual C++
From: neltik (tarantula10_at_lycos.com)
Date: 08/04/04
- Next message: poptgab: "Beginner - OLE DB - bind to grid control"
- Previous message: Vincent: "Re: How to call Oracle Stored Procedure using ADO?"
- Messages sorted by: [ date ] [ thread ]
Date: 3 Aug 2004 22:49:20 -0700
Hi,
I currently writing a program that connects to a database using
SQLDriverConnect. To make the connection configurable, i'm trying to
use .udl files.
Although the connection string is stored as text in the file, it is
stored as Unicode characters. I can't seem to make the
SQLDriverConnect to work correctly with Unicode strings. Is there
anyway I can translate Unicode strings to ASCII (casting doesn't seem
to work).
In my opinion, VB works seamlessly with .udl files, but not VC++. Are
there other ways to make a connection string configurable without
using .udl files (.txt files should work, but lack interface and not
user-friendly).
Thanks.
- Next message: poptgab: "Beginner - OLE DB - bind to grid control"
- Previous message: Vincent: "Re: How to call Oracle Stored Procedure using ADO?"
- Messages sorted by: [ date ] [ thread ]
Loading