Results 1 to 2 of 2

Thread: [RESOLVED] cant load msado.tlh

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Feb 2001
    Location
    Crossroads
    Posts
    3,046

    [RESOLVED] cant load msado.tlh

    I cant seem to make this statement work in a header file (Visual Studio 2010):

    #import "msado15.dll"

    Ive also tried the full path to msado.dll. Ive tried to clean the solution and full recompile. I looked in the target path and msado.tlh isnt getting generated.

    The error is:

    IntelliSense: cannot open source file "c:/Users/john smith/documents/visual studio 2010/Projects/try7db/try7db/Debug/msado15.tlh" c:\users\john smith\documents\visual studio 2010\projects\try7db\try7db\database.h

    can someone tell me what Im doing wrong?

    btw my ultimate goal is to connect/read/write to an existing SLQCE database.

    Thanks in advance for any help!
    Last edited by Muddy; Mar 21st, 2011 at 03:27 PM.

  2. #2

    Thread Starter
    PowerPoster
    Join Date
    Feb 2001
    Location
    Crossroads
    Posts
    3,046

    Re: cant load msado.tlh

    Seems there must be an issue with my VS2010 which is odd since I just recently installed it. I have a side by side installation of VS2008 that I tried this in. It works with some issues which were resolved with the following modifications:
    Code:
      #import "c:\Program Files (x86)\Common Files\System\ADO\msado15.dll"  rename ("EOF","adoEOF") no_namespace
    Ill probably uninstall/reinstall VS2010 at some point to see if I can get it to work in that. At least one person helping me with this found that it worked on VS2010 on his machine. I suppose Im happy enough to have it working in VS2008 for now.

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