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.
Is #import a real pre-proc directive? What does it do? Same as linking?
Kip
Log in to post a comment.
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.
Is #import a real pre-proc directive? What does it do? Same as linking?
Kip