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 » CExtNCSB with Prof 2.84 Collapse All
Subject Author Date
Dirk lindner Feb 10, 2009 - 6:42 AM

Hello,
I have the following error with Prof 2.84.

4WndFrame error LNK2001: Nichtaufgelöstes externes Symbol "public: __thiscall CExtNCSB<class CListCtrl>::CExtNCSB<class CListCtrl>(bool,bool)" (??0?$CExtNCSB@VCListCtrl@@@@QAE@_N0@Z)

is it possible to use CExtNCSB<CListCtrl> with Prof 2.84 ?

Technical Support May 13, 2009 - 12:58 PM

Please drop us an e-mail to the support mail box at this web site so we can provide you with the source code update.

Timo Stripf May 12, 2009 - 12:25 PM

I have the same problem, but changes of the profuis template class produce more erros then before.


Include\ExtScrollWnd.h(420) : while compiling class template member function ’CExtNCSB_Impl<_BTNCSBimpl>::CExtNCSB_Impl(UINT,CWnd *,bool,bool)’

        with

        [

            _BTNCSBimpl=CListCtrl

        ]

        e:\Programme\FOSS Software Inc\Prof-UIS\Include\ExtScrollWnd.h(1214) : see reference to class template instantiation ’CExtNCSB_Impl<_BTNCSBimpl>’ being compiled

        with

        [

            _BTNCSBimpl=CListCtrl

        ]

Dirk lindner Feb 11, 2009 - 3:05 AM

Thank you, but i cant find
( template < > class CExtNCSB < CListCtrl > : public CExtNCSB_Impl < CListCtrl > )
within ExtControlsCommon.h. This line is only at ExtScrollWnd.h at line 1213.
I dont found the second line at the whole sourcecode.
template < > class CExtNCSB < CScrollView > : public CExtNCSB_Impl < CExtNCSB < CScrollView > >

This is the complete error message:
error LNK2001: Nichtaufgelöstes externes Symbol "public: __thiscall CExtNCSB<class CListCtrl>::CExtNCSB<class CListCtrl>(bool,bool)" (??0?$CExtNCSB@VCListCtrl@@@@QAE@_N0@Z)
: error LNK2001: Nichtaufgelöstes externes Symbol "public: virtual __thiscall CExtNCSB<class CListCtrl>::~CExtNCSB<class CListCtrl>(void)" (??1?$CExtNCSB@VCListCtrl@@@@UAE@XZ)
error LNK2001: Nichtaufgelöstes externes Symbol "protected: virtual long __thiscall CExtNCSB<class CListCtrl>::WindowProc(unsigned int,unsigned int,long)" (?WindowProc@?$CExtNCSB@VCListCtrl@@@@MAEJIIJ@Z)


Greets Dirk Lindner

Technical Support Feb 12, 2009 - 3:38 AM

Please let us know which version of Visual Studio you are using? Which Windows platform is the target platform for your project, Win32, x64 or IA64? Which Prof-UIS configuration is used in your project? Whether you tried to rebuild your project completely after you had changed the code we suggested in our previous answer?


Technical Support Feb 10, 2009 - 8:01 AM

There is a known issue. Please find the following line in the .../Prof-UIS/Include/ExtControlsCommon.h file:

template < > class CExtNCSB < CListCtrl > : public CExtNCSB_Impl < CListCtrl >

And replace it with the following line:
template < > class __PROF_UIS_API CExtNCSB < CListCtrl > : public CExtNCSB_Impl < CListCtrl >


Please also find the following line in the same file:
template < > class CExtNCSB < CScrollView > : public CExtNCSB_Impl < CExtANCSB < CScrollView > >

And replace it with the following line:
template < > class __PROF_UIS_API CExtNCSB < CScrollView > : public CExtNCSB_Impl < CExtANCSB < CScrollView > >

Timo Stripf May 12, 2009 - 12:26 PM

I have the same problem, but changes of the profuis template class produce more erros then before.


 


Include\ExtScrollWnd.h(420) : while compiling class template member function ’CExtNCSB_Impl<_BTNCSBimpl>::CExtNCSB_Impl(UINT,CWnd *,bool,bool)’



        with



        [



            _BTNCSBimpl=CListCtrl



        ]



        e:\Programme\FOSS Software Inc\Prof-UIS\Include\ExtScrollWnd.h(1214) : see reference to class template instantiation ’CExtNCSB_Impl<_BTNCSBimpl>’ being compiled



        with



        [



            _BTNCSBimpl=CListCtrl



        ]