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 » CExtDateTimeWnd control problem Collapse All
Subject Author Date
sundar rathnam Jul 25, 2005 - 6:49 AM

Hi,


 


We bought recently Prof-UIS Framework, i am facing a problem in using CExtDateTimeWnd


in my code when i try to access the date time value


COleDateTime m_EntDate = (COleDateTime)m_wndDateTime.GetDateTime();


i am experiencing the following error


DayView.obj : error LNK2001: unresolved external symbol "public: class COleDateTime  __thiscall CExtDateTimeWnd::GetDateTime(void)const " (?GetDateTime@CExtDateTimeWnd@@QBE?AVCOleDateTime@@XZ)
Debug/ippiSample.exe : fatal error LNK1120: 1 unresolved externals


 


hope that u would  resolve this issue


 


regards


sundar


cynaptix technologies p ltd

Technical Support Jul 25, 2005 - 10:45 AM

We cannot yet confirm this linker error. It seems the problem hides somewhere in you project. Did you correctly install and compile Prof-UIS? Is it possible that your project is linked with some older Prof-UIS DLL version? Could you also tell us whether the ProfUIS_Controls sample is compiled successfully?

sundar rathnam Jul 25, 2005 - 10:46 PM

Hi,


thanks for the reply. i have installed and compiled prof_UIS without any issues. In fact the sample application profUIS-controls ( where the CExtDateTimeWnd control is explained) is running smoothly without any issues.


Only in my project when i introuduce the control CExtDateTimeWnd i am receiving the Link error.


Hope that you would resove this issue


regards


sundar


 


 

Eddie Judson Jul 26, 2005 - 2:12 AM

In the prof-UIS library remove the AFX_INLINE statement from the declaration of GetDateTime in the ExtDurationWnd.h and recompile it.  That should fix it.


Regards,

Technical Support Jul 26, 2005 - 5:44 AM

Yes, Eddie Judson is right. This is a bug which can be easily fixed. Just remove all the AFX_INLINE statements from the ExtDurationWnd.h header.

sundar rathnam Jul 26, 2005 - 6:07 AM

Hi,


 


I tried that but still i am receiving that link error. I am wondering that when i use the statement


m_wndDateTime.SetDateTime( COleDateTime::GetCurrentTime() );

Technical Support Jul 26, 2005 - 7:04 AM

Please make sure you have done the following:

1) You replaced all the "AFX_INLINE" text entries with empty text in the ExtDateTimeWnd.h file.

2) You rebuilt the Prof-UIS configuration that you are using.

3) You rebuilt your project and the newly created Prof-UIS library is used by your application.