CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: ADO

  1. #1
    Join Date
    May 1999
    Posts
    1

    ADO

    Hi I am facing problems with
    importing msado15.dll

    I am having a component which uses ADO for
    data access.
    This component works fine when I import msado10.dll or msado15.dll (MDAC 2.0 or Less)

    I am using VC++ 5.0, When I install MDAC 2.1 and
    above on my machine I am not able to compile
    the previous code.

    Can any body please help me out with this

    The statement which I am using for import is

    #import "../ado/msado15.dll \
    no_namespace rename("EOF","adoEOF");

    thanx in advance........

    bye
    manu



  2. #2
    Guest

    Re: ADO

    I am using this syntax

    #import "msado15.dll" rename ("EOF", "ADOEOF")
    using namespace ADODB;

    mahesh


  3. #3
    Join Date
    May 1999
    Location
    Texas, USA
    Posts
    568

    Re: ADO

    What is the error that you get?

    Wayne


  4. #4
    Join Date
    Apr 1999
    Location
    Alabama, USA
    Posts
    261

    Re: ADO

    I had the same problem with using ADO and Visual C++ 5.0. The funny thing was that it happened on some machines and not others. Finally I figured out that I needed Service Pack 3, to compile a program that #imports ADO. It sounds like this might be the problem you're having. What service pack(s) are you using?




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