Menu

MsAccess Database

2002-08-29
2012-09-26
  • Nobody/Anonymous

    Here is something basic, but I still need help.  I want to do an #import directive.

    Here is my code:
    #include <stdio.h>
    #include <iostream.h>
    #import "d:\Program Files\Common Files\System\ADO\msado15.dll" \ no_namespace rename("EOF", "EndOfFile")
    void main(void)
        {    cout<<"Hello world";    }

    I get this error message:
    undefined or invalid # directive

    This is related to the #import directive.

    What can I do to make the import work?  I use Dev-C++ 4.9.5.0

    Thank you.

     
    • Nobody/Anonymous

      Is #import a real pre-proc directive? What does it do? Same as linking?

      Kip

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.