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

Thread: Dao Sdk

  1. #1
    Join Date
    May 2002
    Posts
    64

    Dao Sdk

    Hi,

    MSDN says that DAO SDK is available in VC++ 5.0 CD-ROM. I purchased VC++ 6.0 Standard Edition and couldn't find DAO SDK in it (only ADO, OLEDB, RDO, ....are available).

    Can it be download in Microsoft website? I've been trying to locate the url. Is DAO SDK free to redistribute?

    Thanks in advance.

    Regards,
    Ivan

  2. #2
    Join Date
    Sep 1999
    Location
    Germany, Hessen
    Posts
    226
    DAO is free to redistribute.

    It is located in the "\DAOSDK" - directory in the Visual C++ 6.0 (and 5.0) CD, at least in the professional version. Since the standard edition seems to be more or less for "learners", not for real developers, it might be that it is not included.

    But the SDK itself should be installed when you install VC++, only the redistributables are the problem.


    BUT:
    If you can avoid it, you shouldn't use DAO anymore, at least not for new projects.
    Reasons:
    1) MS doesn't support DAO anymore
    2) There are some problems in distributing the DAO SDK to customers/users
    3) There are limitations (e.G. it doesn't support Access 2000 dbs or newer versions without patching some of your MFC files)

    You should use ADO, which is similar to use, but using the COM component concept not the MFC Class concept, which makes it a little bit difficult for people who are new to COM (but it's worth the time learning it, believe me!).

    Ado is included in MSDAC (MS Data Access Components) and can also be distributed freely.

    There is an article "ADO IS AOK" inat Codegurus atricle section (database), which can give you a quick start in ADO. There is also a good (but older ...) book about ADO available (the German title is "ADO Programmierung" so I think it's called "ADO Programming" in English), which gives some backgrounds about ADO. Worth buying and reading, even if it is published by Microsoft Press and the code examples are written in VB. Since ADO is made of COM components the technique is the same when using it in C++, only the syntax differs a little bit.

    Best regards,
    Marco

+ Reply to Thread

Bookmarks

Posting Permissions

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



HTML5 Development Center

Click Here to Expand Forum to Full Width