Click here to Skip to main content
15,896,489 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more: (untagged)
I have a project (eg. xyz) when I build this project in (debug mode) it’s create a .dll (e.g. abc.dll). Source code is written in C language.

This dll (abc.dll) contains some function. I have to use those functions.

Now I have to make a project (that give me executable) in visual studio 2008, using that dll (abc.dll), and write some code that call the function from that dll (abc.dll).

Can you please suggest us? I am very beginner. Please give me step by step, so that I am able to do it.

** which project I have to create, in visual studio 2008 there are many option for creating a project, I have to make a project which gives me executable.

I have done a lot in Google but not able to get the solution.

I am a java developer, but in one of the project I have to do this task.

:)
Posted

You need to make an application either a windows forms application, WPF application, windows service etc.
Then right click on references and select add reference, then select your dll.

Kind of basic.
 
Share this answer
 
You knew enough to add the proper tags (Visual Studio), but you don't have the initiative to explore that very application? Try looking at the menu at the top of the Visual Studio window. All will be revealed.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900