Click to See Complete Forum and Search --> : ADO Problems with #import on Windows 98


John Holifield
April 26th, 1999, 04:40 PM
Hi,

I would like to start a little sample project using ADO. I added this line to my project to bring in the ADO related stuff into my project.


#import "C:\Program Files\Common Files\System\ado\msado15.dll" no_namespace replace("EOF", "adoEOF")




The problem is that the .tlh and .tli files that are produced have compile errors that I am unable to resolve. This problem only occurs on my Windows98 box, and the same code works correctly on NT4.0SP3. I am using VC++5.0 on both machines.

Any help anyone can give me is appreciated.

Sincerely,
John Holifield

April 28th, 1999, 12:19 AM
try this:
#import "c:\Program Files\Common Files\System\ADO\msado15.dll" no_namespace rename("EOF","ADOEOF")