Skip to content

Commit e1e31d1

Browse files
author
mikeblome
committed
fixes 986
1 parent 0caa950 commit e1e31d1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/porting/how-to-use-existing-cpp-code-in-a-universal-windows-platform-app.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,9 +187,9 @@ However, you can use a static library in a UWP without recompiling it with `/ZW`
187187
188188
### To use a native C++ static library in a UWP project
189189
190-
1. In the project properties for the UWP project, in the **Linker** section, add the path to the library in the **Input** property. For example, for a library in the project that places its output in *SolutionFolder*\Debug\MyNativeLibrary\MyNativeLibrary.lib, add the relative path `Debug\MyNativeLibrary\MyNativeLibrary.lib`.
190+
1. In the project properties for the UWP project, choose **Configuration Properties** > **Linker** > **Input** in the left pane. In the right pane, add the path to the library in the **Additional Dependencies** property. For example, for a library in the project that places its output in *SolutionFolder*\Debug\MyNativeLibrary\MyNativeLibrary.lib, add the relative path `Debug\MyNativeLibrary\MyNativeLibrary.lib`.
191191
192-
2. Add an include statement to reference the header file to your pch.h in the UWP project and start adding code that uses the library.
192+
2. Add an include statement to reference the header file to your pch.h file (if present), or in any .cpp file as needed, and start adding code that uses the library.
193193
194194
```cpp
195195
#include "..\MyNativeLibrary\giraffe.h"

0 commit comments

Comments
 (0)