I tried to create a simple MFC testproject (NetDCU8 and NetDCU9 Platform). First I compiled it for NetDCU8 everythings working. Than I compiled it for NetDCU9, I got:
QuoteDisplay More1>------ Build started: Project: Board9Test, Configuration: Debug NetDCU9 (ARMV4I) ------
1>Compiling...
1>stdafx.cpp
1>_CE_ACTIVEX was not defined because this Windows CE SDK does not have DCOM.
1> _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.
1>_ATL_NO_HOSTING was defined because _CE_ACTIVEX was not defined.
1>C:\Programme\Windows CE Tools\wce600\NetDCU9\include\ARMV4I\shlobj.h(120) : fatal error C1083: Cannot open include file: 'winnetwk.h': No such file or directory
1>Build log was saved at "file://c:\Data\Board9Test\Board9Test\NetDCU9 (ARMV4I)\Debug\BuildLog.htm"
1>Board9Test - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
winnetwk.h is only at:
QuoteC:\Programme\Windows CE Tools\wce500\NetDCU8\Include\Armv4i
.
I searched the web, and I found:
Quote
saying:
...
You must add the following components to your OSDesign, even if you do not need those functionalities :
-AYGShell API Set
-Windows Networking API/Redirector (SMB/CIFS)
Otherwise you will have that kind of error during the build :
fatal error C1083: Cannot open include file: 'winnetwk.h': No such file or directory
Our kernelversion is: NetDCU9 V0.01
kernelVersionDate: 10.08.07
Do you have any hint?
Thank you very much.
Georg
...