Home > Archive > Smartphone Developer Forum > April 2006 > cant resolve error
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
cant resolve error
|
|
| sidhu 2006-04-26, 10:42 pm |
| Hi all,
I m trying to add a dialog box to the inboxmenuextensibility example..when i add a dialog box and build my application the following errors are obtained:
------ Rebuild All started: Project: InboxMenuExtensibility, Configuration: Debug Windows Mobile 5.0 Smartphone SDK (ARMV4I) ------
Deleting intermediate and output files for project 'InboxMenuExtensibility', configuration 'Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I)'
Compiling...
ClassFactory.cpp
InboxMenuExt.cpp
Main.cpp
MyDialog.cpp
WINVER not defined. Defaulting to 0x0400, which is appropriate for all supported Windows CE versions
_CE_ACTIVEX was not defined because this Windows CE SDK does not have DCOM.
_CE_ACTIVEX could be caused to be defined by defining _CE_ALLOW_SINGLE_THREADED_OBJECTS_IN_MTA
, but it is recommended that this be done only for single-threaded apps.
_ATL_NO_HOSTING was defined because _CE_ACTIVEX was not defined.
c:\program files\windows ce tools\wce500\windows mobile 5.0 smartphone sdk\samples\cpp\win32\inboxmenuextensibi
lity\inboxmenuextensibility\MyDialog.h(15) : error C2065: 'IDD_SMARTPHONE_PORTRAIT' : undeclared identifier
Generating Code...
Build log was saved at "file://c:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Smartphone SDK\Samples\CPP\Win32\Inboxmenuextensibi
lity\InboxMenuExtensibility\Windows Mobile 5.0 Smartphone SDK (ARMV4I)\Debug\BuildLog.htm"
InboxMenuExtensibility - 1 error(s), 0 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
plz help...will be grateful to you all
regards
kapil kaushik | |
|
| I am going to go out on a limb and say that in the MyDialog.h file, you
use IDD_SMARTPHONE_PORTRAIT. I assume that this is a resource file and
it is either called something else in the resource or you did not
incluse the resource.h file, which should have all of the resource
items defined.
Hope this helps.
Matt
|
|
|
|
|