Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How can use the dll file of hysys in visual studio?

user-image
Question added by Alam Nawaz , Assistant Professor , Yeungnam University
Date Posted: 2015/12/24

go to toolbox and go to general right click on it then chose (choose item) and choose the dll file that you need

 

Samy El KAHLOUT
by Samy El KAHLOUT , Software Developer , Retailgreen

To add a Dll file to your project in Visual Studio:

First you right-click on the “references”-label in the Solution Explorer and click in the context menu on “Add reference” . 

Now click on the “Browse” button, select the desired (. NET compatible) DLL and confirm your selection by clicking on the “Ok” button. 

In the last step you can add the appropriate using directives in your source code for an easier access to the methods of the obtaining DLL. 

Oluwasolafunmi Oyegbile
by Oluwasolafunmi Oyegbile , CEO , Sola Car Rentals

The DLL should have come with a .lib file for linking, and one or more header files to #include into your sources. The header files will define the classes and function prototypes that you can use from the DLL. You will need this even if you use Load Library.

To link with the library, you might have to add the .lib file to the project configuration under Linker/Input/Additional Dependencies.

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.