To avoid these unresolved external errors, do not set the Project Settings to Single-Threaded for an MFC version 3.0 or later application. This setting can be changed by doing the following:
- On Microsoft Visual C++ .NET 2003
- Click the Project menu.
- Click <project_name> Properties.
- Expand Configuration Properties, and then click C/C++.
- Click Code Generation.
- In the right pane, make a selection other than Single-threaded or Single-threaded Debug in the Runtime Library list.
- On Microsoft Visual C ++ 2.x, 5.0, and 6.0
- Select the Project menu.
- Select the Settings... option.
- Select the C/C++ tab.
- Select Code Generation on the Category list box.
- Finally, make a selection other than Single-Threaded on the Use Run Time Library list box.
- On Microsoft Visual C++ 4.x
- Select the Build menu.
- Select the Settings... option.
- Select the C/C++ tab.
- Select Code Generation on the Category list box.
- Finally, make a selection other than Single-Threaded on the Use Run Time Library list box.
C run-time libraries
Comments
Post a Comment