How to hook DLL in Visual C++?

Write a course project in C++ programming. My task is to write a dll to plug it in a Windows Forms project. A library was created, poluchau it to the console app, it works well, functions from the library use. Connect to your Windows Forms project — everything is fine as soon as you start to use the C library function generates an error. I write in Visual Studio 2010
0e20073d3ac7c02ebb0c8aca7f6dc5b4.png

Tell me how to do that?
October 8th 19 at 03:04
1 answer
October 8th 19 at 03:06
Right-click on the project — Configuration Properties -> Linker -> Input -> Additional Dependencies: here add the lib file from your library.

Find more questions by tags Visual StudioC++