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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

#using error on dll.

Status
Not open for further replies.

Wolfie7873

Technical User
Jan 15, 2004
94
US
So I want to use the command: SQLConfigDataSource. From what I gather this class is in odbccp32.dll so I tried this in the beginning of my console application:

#include "stdafx.h"

#using <mscorlib.dll>
#using <odbccp32.dll>

using namespace System;
using namespace System::IO;
using namespace System::Data;

I get this error at compile time:

fatal error C1192: #using failed on 'c:\windows\system32\odbccp32.dll'

I don't understand this error, what gives?
 
hmmm. my project doesn't seem to be set up the same way the example is so their suggestions don't seem to work for me. Can you break it down a little more for me?
 
Unfortunately I can't. My problem was exactly as they described and following the steps seemed to fix it. Maybe one of the other MVPs can help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top