Author |
Topic |
|
smagargee
0 Posts |
Posted - 13 Aug 2007 : 15:58:49
|
I'm using Visual Studio 2005, and building a small ATL project to test:
Visual C++ -> Smart Device -> ATL Smart Device project. Support for ADS CE Platform Sdk DLL Server, Support for MFC No merged proxy/stub
Add Class -> ATL Simple Object - checked off the 'Attributed' checkbox MyTest Class Interface: IMyTest ProgID: ADSTest.MyTest Free Threading No Aggregation Dual Interface No additional support
When I build, I get this linking problem:
1>------ Build started: Project: ADSTest, Configuration: Debug ADS_CE_5.0 (ARMV4I) ------ 1>Compiling... 1>stdafx.cpp 1>Compiling... 1>ADSTest.cpp 1>MyTest.cpp 1>Generating Code... 1>Compiling... 1>ADSTest_i.c 1>Compiling resources... 1>Linking... 1> Creating library ADS_CE_5.0 (ARMV4I)Debug/ADSTest.lib and object ADS_CE_5.0 (ARMV4I)Debug/ADSTest.exp 1>Microsoft (R) MIDL Compiler Version 5.01.0164 1>Copyright (c) Microsoft Corp 1991-1997. All rights reserved. 1>Processing .\_ADSTest.idl 1>_ADSTest.idl 1>Processing C:Program FilesWindows CE Toolswce500ADS_CE_5.0includeARMV4Idocobj.idl 1>docobj.idl ... 1>servprov.idl 1>Processing C:Program FilesMicrosoft Visual Studio 8VCceatlmfcincludeatliface.idl 1>atliface.idl 1>midl : command line error MIDL1001 : cannot open input file oleacc.idl 1>LINK : fatal error LNK1240: failed to compile IDL content 1>Build log was saved at "file://c:DevSandboxADSTestADSTestADS_CE_5.0 (ARMV4I)DebugBuildLog.htm" 1>ADSTest - 2 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== ========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========
Can you reproduce this simple test? Is the ADS SDK configured correctly?
Thank you |
|
grenierm
133 Posts |
Posted - 22 Aug 2007 : 13:26:39
|
Hi smagargee, thanks for your question.
This build failure can be resolved by moving oleacc.idl in the manner specified below:
From: Microsoft Visual Studio 8 -> VC -> PlatformSDK -> Include
To: Windows CE Tools -> wce500 -> ADS_CE_5.0 -> Include -> Armv4i |
|
|
|
Topic |
|
|
|