Linking static library error LNK1104: cannot open file 'array.lib'

I am trying to learn working with static libraries, but I am meeting this error error LNK1104: cannot open file 'array.lib'
This is what I've done step by step:

File-> New-> Projects-> Win32 Project (name: darray), Next, select <<static library>> from Win32 application wizard page.

Project-> Add exiting item-> Files-> add DArray.h DArray.cpp (which are for a code about dynamic arrays)

Compile project : no problem

File-> New-> Projects-> Win32 Console Application (name: darray1)

Project-> Add to project-> Files-> add main.cpp (test code for dynamic arrays)

project-> Properties-> Linker-> Input, Additional Dependencies : "darray.lib"

Compile: error LNK1104: cannot open file 'array.lib'



I searched online and found this forum: [url="http://stackoverflow.com/questions/133698/why-does-fatal-error-lnk1104-cannot-open-file-c-program-obj-occur-when-i-c"][/url]

I tried every possible solutions they gave and I underestood but nothing is changed.

I tried C:\Users\SAEEDE\Documents\Visual Studio 2013\Projects\darray\Debug\darray.lib
& "C:\Users\SAEEDE\Documents\Visual Studio 2013\Projects\darray\Debug\darray.lib"
& "C:\Users\SAEEDE\Documents\Visual Studio 2013\Projects\darray\Debug\darray.lib";

Can you help me please?
Did you set the library directories under Project->VC++ ->Library directories. ?
closed account (E0p9LyTq)
Walkthrough: Creating and Using a Static Library
https://msdn.microsoft.com/en-us/library/ms235627.aspx
@Thomas1965 I tried it too, but it doesn't work too
thank you @FurryGuy
I read that website but I can't find my solution there
Do you think a specific part of it refers to the reason of this error?
Another way to link a static library to your program is
#pragma comment(lib, "YourFullLibName")
Topic archived. No new replies allowed.