Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » CExtTabPageContainerWnd : Giving Unknown base class error. !!Urgent requirement!! Collapse All
Subject Author Date
SANKET DAS Jun 25, 2007 - 10:28 PM

When I include the class CExtTabPageContainerWnd class in my project, I get an unknown base class error. However other profui classes like CExtToolControlBar,CExtMenuBar can be used successfully in the same project. The profui header file inclusion in the project is done in th STDAFX.h of the project i.e it contains the statement #include <prof-uis.h>. Do we need any other explicit inclusion. Kindly suggest as we are stuck in this problem.

SANKET DAS Jun 28, 2007 - 3:35 AM

thanks for ur timely help. It got resolved by uncommenting the "#define"s in the Prof-UIS.h file.

SANKET DAS Jun 27, 2007 - 8:08 AM

Thanks for your reponse. The following is the error message that we get. We have derived a class from CExtTabPageContainerWnd in the file
ArenaSplitter.h. Can you plz let me know what repurcussions cld take place by reducing size of the dll. I will confirm on this from other developers in my team.

d:\v60_Jan07_Dbg_Patchset\src\InfoStudio\SaIS\ArenaSplitter.h(29): error C2504: ’CExtTabPageContainerWnd’ : base class undefined; d:\v60_Jan07_Dbg_Patchset\inc\rw\stringid.h(244) : see reference to class template instantiation ’RWTRegularExpression<charT> with [charT=char]’ being compiled; d:\v60_Jan07_Dbg_Patchset\inc\rw\stringid.h(244) : see reference to class template instantiation ’RWTRegularExpression<charT> with [charT=char]’ being compiled; d:\v60_Jan07_Dbg_Patchset\inc\rw\stringid.h(244) : see reference to class template instantiation ’RWTRegularExpression<charT> with [charT=char]’ being compiled; d:\v60_Jan07_Dbg_Patchset\inc\rw\stringid.h(242) : see reference to class template instantiation ’RWTRegularExpression<charT> with [charT=char]’ being compiled; d:\v60_Jan07_Dbg_Patchset\inc\rw\stringid.h(242) : see reference to class template instantiation ’RWTRegularExpression<charT> with [charT=char]’ being compiled; d:\v60_Jan07_Dbg_Patchset\inc\rw\stringid.h(242) : see reference to class template instantiation ’RWTRegularExpression<charT> with [charT=char]’ being compiled; d:\v60_Jan07_Dbg_Patchset\inc\rw\stringid.h(242) : see reference to class template instantiation ’RWTRegularExpression<charT> with [charT=char]’ being compiled; d:\v60_Jan07_Dbg_Patchset\inc\rw\stringid.h(242) : see reference to class template instantiation ’RWTRegularExpression<charT> with [charT=char]’ being compiled; d:\v60_Jan07_Dbg_Patchset\inc\rw\stringid.h(242) : see reference to class template instantiation ’RWTRegularExpression<charT> with [charT=char]’ being compiled; d:\v60_Jan07_Dbg_Patchset\inc\rw\stringid.h(239) : see reference to class template instantiation ’RWTRegularExpression<charT> with [charT=char]’ being compiled; d:\v60_Jan07_Dbg_Patchset\inc\rw\stringid.h(237) : see reference to class template instantiation ’RWTRegularExpression<charT> with [charT=char]’ being compiled; d:\v60_Jan07_Dbg_Patchset\inc\rw\stringid.h(237) : see reference to class template instantiation ’RWTRegularExpression<charT> with [charT=char]’ b

Suhai Gyorgy Jun 27, 2007 - 8:52 AM

As you can read in this FAQ, size of DLL can be reduced by excluding some features of ProfUIS. This is done by uncommenting some lines in Prof-UIS.h file. For example, if the line
#define __EXT_MFC_NO_TAB_PAGECONTAINER_CTRL
is uncommented, CExtTabPageContainerWnd cannot be used. But if you check lower in Prof-UIS.h file, you can see that there are some dependencies, so __EXT_MFC_NO_TAB_PAGECONTAINER_CTRL can also be defined as a result of uncommenting some other line in the file.

You can check easily to see if ExtTabPageContainerWnd.h file is included through stdafx.h or not.
Just before using CExtTabPageContainerWnd as a base class, insert these lines in your source:
#if (! defined __EXT_TAB_PAGE_CONTAINER_WND_H)
abc
#else
xyz
#endif
After that, when you try to build your application, compiler will show error either on line abc, or on line xyz.
I’m suspecting error on abc. That’d mean that either you modified Prof-UIS.h, or for some reason or another, your application is trying to use ProfUIS Freeware, but I guess that could only happen if you installed a newer version of ProfUIS Freeware over your paid version of 2.54.
If error comes on xyz, then I’m out of guesses.

SANKET DAS Jun 27, 2007 - 3:38 AM

But on right clicking the CExtTabPageContainerWnd and "Go to Definition" it does open the file ExtTabPageContainerWnd.h file. Plus we have a paid version of ProfUi 2.54. Can you suggest why is this error.

Technical Support Jun 27, 2007 - 12:42 PM

Could you please pack the content of the ../Prof-UIS/Include and ../Prof-UIS/Src folders into a ZIP file and send it to the support mail box at this web site? We believe we will be able to clarify what’s wrong.



Suhai Gyorgy Jun 27, 2007 - 6:42 AM

Have you ever modified Prof-UIS.h file to reduce the size of the Prof-UIS dll?
What’s exact error message?

Suhai Gyorgy Jun 26, 2007 - 1:28 AM

CExtTabPageContainerWnd class is not part of the Freeware version of Prof-UIS, this might cause the problem.