1. Build: 0 succeeded or up-to-date, 0 failed, 1 skipped
Solution: Check with the configuration manager like CMS said and make sure that you have the right platform set.
The final solution: the system compilation of smartphone and pocket2003 is OK, and the thought should be a problem with the platform of choice. Finally, the sdk is not installed in the selected wince6.0.
2. error LNK2019: unresolved external symbol ***** referenced in function *** Solution
Error Cause Analysis:
When a function is declared in the header file but is not defined in the corresponding source file, an unresolved external symbol error occurs.
In addition, when a function calls a function in an external library file but does not include the dependent library file in the properties of the current project, this error also occurs.
In summary, when a solution cannot find the definition of the involved function in linking, the "unresolved external symbol" error will occur.
For example:
Call bResult = NTLMEnumUser (I, user1 [I], & in );
Although the header file contains # include "ntlmssp. h" // user access manager
Link error because ntlmssl. lib is not included.
1> Linking...
1> LedControlDlg. obj: error LNK2019: unresolved external symbol NTLMEnumUser referenced in function "protected: virtual int _ cdecl CLedControlDlg: OnInitDialog (void )"(? OnInitDialog @ CLedControlDlg @ MAAHXZ)
[Solution]
1. Project-> ** Properties...-> Configuration Properties-> Linker-> Input-> Additional Dependencies-> mil. lib
In addition, you also need to add the corresponding directory of the MIL library before: tools-> Options-> Projects and Solutions-> VC ++ Directories-> Show Directories for-> Add C: \ Program Files \ Matrox Imaging \ Mil \ Include and Tools-> Options-> Projects and Solutions-> VC ++ Directories-> Show Directories
For-> Add C: \ Program files \ Matrox Imaging \ Mil \ LIB to Library Files. The purpose of adding a directory is to make VC do not always use an absolute address when calling the corresponding library file. VC can search by file name in the contained directory. In this way, the previous mil. lib does not need to use an absolute address.
[Disadvantage] Poor portability. If you copy the source and header files in the original project and re-create the project (for example, a program found on an e-book or on the Internet ), you still need to add directories and required library files in the project.
2. Add # pragma comment (lib, "mil. lib") before the program to achieve the same effect.
[Advantage] avoids problems in solution 1.