Attention -ADO objects - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Attention -ADO objects

nakelnakel Posts: 127Member
I use visual C++ compiler.I had already registered the library of ADO to the system by running the cmd below:
c:program filescommon filessystemadoRegSvr32 msado15.dll
and it told it has done it successfully.
But it's still complainin abt same problem

c:program filesmicrosoft visual studiomyprojectsscheduleadomfc1adomfc1doc.h(23) : error C2146: syntax error : missing ';' before identifier 'm_pConnection'

c:program filesmicrosoft visual studiomyprojectsscheduleadomfc1adomfc1doc.h(23) : error C2501: '_ConnectionPtr' : missing storage-class or type specifiers

c:program filesmicrosoft visual studiomyprojectsscheduleadomfc1adomfc1doc.h(23) : error C2501: 'm_pConnection' : missing storage-class or type specifiers

after declaring _ConnectionPtr m_pConnection;

Probably that's not the appropriate thing to do.How can I make the compiler to recognise the derived type _ConnectionPtr, cos it's obvious that's the problem.

Comments

Sign In or Register to comment.