abstract class
-
Hi I am a new comer in C++. I have an MFC application that using some header files and libraries. I set the 'additional library directories' and 'additional include directories' in project settings. But whenever I want to make an instance of one of those classes I get this error: error C2259: cannot instantiate abstract class due to the following members: .... It is wierd as it works in another project same as this one, and there are some other classes in the lib files as this class, but the error doesn't occur in those conditions. I know the concept of abstract class. Please help me in advanse. Thanks
-
Hi I am a new comer in C++. I have an MFC application that using some header files and libraries. I set the 'additional library directories' and 'additional include directories' in project settings. But whenever I want to make an instance of one of those classes I get this error: error C2259: cannot instantiate abstract class due to the following members: .... It is wierd as it works in another project same as this one, and there are some other classes in the lib files as this class, but the error doesn't occur in those conditions. I know the concept of abstract class. Please help me in advanse. Thanks
Well, something must be different between your new application and the older ones - otherwise the error wouldn't occur. You need to identify what's different. Start with the error messages. What methods are they telling you aren't implemented? That tells you what to look for in the older projects where those things do work.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
-
Hi I am a new comer in C++. I have an MFC application that using some header files and libraries. I set the 'additional library directories' and 'additional include directories' in project settings. But whenever I want to make an instance of one of those classes I get this error: error C2259: cannot instantiate abstract class due to the following members: .... It is wierd as it works in another project same as this one, and there are some other classes in the lib files as this class, but the error doesn't occur in those conditions. I know the concept of abstract class. Please help me in advanse. Thanks
Hi, I don't know whether you know this URL but it does answer your question. http://msdn.microsoft.com/en-us/library/zxt206sk(VS.80).aspx[^] Regards, Marc Ochsenmeier www.breakpoints.de