M
M
Maxim Tkachuk2012-02-23 17:34:56
C++ / C#
Maxim Tkachuk, 2012-02-23 17:34:56

How to include a DLL in Visual C++?

I am writing a course project in C++ on programming. My task is to write a dll library, connect it to a Windows Forms project. I created a library, I connect it to the console program - everything works fine, I use the functions from the library. I connect to my Windows Forms project - everything is fine, as soon as I start using functions from the library, I get an error. I'm writing in Visual Studio 2010
0e20073d3ac7c02ebb0c8aca7f6dc5b4.png
Tell me how to make it work?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Riateche, 2012-02-24
@Riateche

Right click on the project - Configuration Properties -> Linker -> Input -> Additional Dependencies: here add the lib file from your library.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question