Professional UI Solutions
Site Map   /  Register


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 Tech Support » Base class undefined? Collapse All
Subject Author Date
Bertil Morefält Nov 2, 2009 - 5:57 AM


I have an application with 28 dll:s (MFC Extenstion DLL:s) and I am trying to bild a new MFC Extenstin DLL where I  use yours ProfUIS 2.85. When I comile the DLL only, there is no error but when I in my App:s InitInstance add my doc/view to AddDocTemplate and compile my application I receive the following error:

2>c:\\danv\anvframe.h(10) : error C2504: ’CExtNCW’ : base class undefined

2>c:\\danv\anvframe.h(10) : error C2143: syntax error : missing ’,’ before ’<’

It seems thet CExtNCW does not exist, why?

I have included #include < Prof-UIS.h > // Prof-UIS library in stdfax.h for my DLL but not in my main application.


Best regards,

Bertil Morefält

Technical Support Nov 2, 2009 - 9:09 AM

If your extension DLLs do export of any Prof-UIS-based classes including template-based, then your main EXE project should also include Prof-UIS.h file in its StdAfx.h file. The CExtNCW class is the template class from Prof-UIS. We suspect some of your extension DLLs exports some CExtNCW-based class.