Click here to Skip to main content
15,921,905 members
Home / Discussions / Database
   

Database

 
GeneralRe: OleDb Connection Pin
andyharman27-Aug-03 10:52
professionalandyharman27-Aug-03 10:52 
GeneralRe: OleDb Connection Pin
Dan Betting27-Aug-03 11:49
sussDan Betting27-Aug-03 11:49 
GeneralRe: OleDb Connection Pin
Bo Hunter27-Aug-03 12:41
Bo Hunter27-Aug-03 12:41 
GeneralRe: OleDb Connection Pin
Chris Blazek30-Aug-03 18:17
sussChris Blazek30-Aug-03 18:17 
GeneralsqlDataAdapter Recommendation Pin
econner27-Aug-03 8:03
econner27-Aug-03 8:03 
GeneralRe: sqlDataAdapter Recommendation Pin
Mike Dimmick28-Aug-03 3:16
Mike Dimmick28-Aug-03 3:16 
GeneralSetFieldNull. Pin
Anonymous26-Aug-03 9:13
Anonymous26-Aug-03 9:13 
GeneralODBC Q Pin
Frank Olorin Rizzi26-Aug-03 7:39
Frank Olorin Rizzi26-Aug-03 7:39 
I am sorry if this seems off topic here,
but I'm not sure where else I could post this question,
and the people lurking in this forum probably know something of DBs,
and may know something that can help me, so...
...not to mention this problem is **killing** me !

Here goes:

I'm trying to set a dll to trace the ODBC communications.
The machine is running Win 2K 5.00 w/ SP-4.

I downloaded and installed the MDAC 2.8 and MDAC SDK 2.6.
From the MDAC SDK I got the source code for the trace.dll.

So I compiled it in Visual Studio 6.0, and I obtained the
trace.dll.

Now, in the Administrative Tools>Data Sources, in the
Tracing tab, I click on "Select DLL", navigate to the
location of the trace.dll, and click "OK.

When I click "OK" or "Apply", I receive the error message:
"General Error: either C:\WINNT\system32\trace.dll is not
an ODBC tracing dll or it is obsolete."
with an "OK" button.

Well... I'm not Ok with it, but I can only click on it...
After Ok-ing the error message, the DLL in the "Custom
Trace DLL" text box (in the Data Source > Tracing tab)
reverts to "C:\WINNT\system32\odbctrac.dll", which was the
value in it before I tried to change it.

I looked at the dependencies of the two dlls involved, to
check if I was not exporting something.
I noticed that the trace.dll was not listing all of its
routines.
So I added a trace.def file to my project, listed all of
the routines to be exported (I think), and tried again.
Now the trace.dll shows the various routines when I "View
Dependencies" on it, but the rest of the scenario has not
changed.

Last attempt (after long research on the net)
was to modify the signature of the routines to be exported
so that they are preceeded by __declspec(dllexport)
to ensure that they are being exported, but nothing changed...

....Suggestions?

Thanks in advance for your attention,
Frank



GeneralRe: ODBC Q Pin
Frank Olorin Rizzi27-Aug-03 4:02
Frank Olorin Rizzi27-Aug-03 4:02 
GeneralRe: ODBC Q Pin
Mike Dimmick27-Aug-03 5:22
Mike Dimmick27-Aug-03 5:22 
GeneralRe: ODBC Q Pin
Frank Olorin Rizzi27-Aug-03 5:57
Frank Olorin Rizzi27-Aug-03 5:57 
GeneralRe: ODBC Q Pin
Mike Dimmick27-Aug-03 6:03
Mike Dimmick27-Aug-03 6:03 
GeneralRe: ODBC Q Pin
Frank Olorin Rizzi27-Aug-03 6:05
Frank Olorin Rizzi27-Aug-03 6:05 
GeneralRe: ODBC Q Pin
Tom Archer28-Aug-03 3:35
Tom Archer28-Aug-03 3:35 
GeneralRe: ODBC Q Pin
Frank Olorin Rizzi28-Aug-03 4:18
Frank Olorin Rizzi28-Aug-03 4:18 
GeneralRe: ODBC Q Pin
Frank Olorin Rizzi28-Aug-03 5:54
Frank Olorin Rizzi28-Aug-03 5:54 
GeneralRe: ODBC Q Pin
Frank Olorin Rizzi9-Sep-03 2:19
Frank Olorin Rizzi9-Sep-03 2:19 
GeneralBULK INSERT via ADO -- URGENT Pin
Anonymous26-Aug-03 5:06
Anonymous26-Aug-03 5:06 
GeneralRe: BULK INSERT via ADO -- URGENT Pin
Anonymous26-Aug-03 5:57
Anonymous26-Aug-03 5:57 
GeneralRe: BULK INSERT via ADO -- URGENT Pin
Mike Dimmick26-Aug-03 22:36
Mike Dimmick26-Aug-03 22:36 
GeneralRe: BULK INSERT via ADO -- URGENT Pin
m2m Inc27-Aug-03 23:32
m2m Inc27-Aug-03 23:32 
GeneralDatareader & Datasets Pin
Nick Seng25-Aug-03 20:15
Nick Seng25-Aug-03 20:15 
GeneralRe: Datareader & Datasets Pin
Hesham Amin25-Aug-03 21:41
Hesham Amin25-Aug-03 21:41 
GeneralRe: Datareader & Datasets Pin
Nick Seng25-Aug-03 22:37
Nick Seng25-Aug-03 22:37 
GeneralRe: Datareader & Datasets Pin
Tom Archer26-Aug-03 2:09
Tom Archer26-Aug-03 2:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.