CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Location
    Alabama, USA
    Posts
    261

    ADO Problems with #import on Windows 98

    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




  2. #2
    Guest

    Re: ADO Problems with #import on Windows 98

    try this:
    #import "c:\Program Files\Common Files\System\ADO\msado15.dll" no_namespace rename("EOF","ADOEOF")


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured