Click here to Skip to main content
15,042,336 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i received a project. the code of this project is written in C and i want to transform it in dll so i could use the functions later. i am using Microsoft Visual studio 2010. How could i proceed?
Please help me

1 solution

Please see:[^],[^],[^].

I would advise to create a C++ DLL project in Visual Studio and add C files and corresponding header files to it. A C++ project can host C code without any problem. And then you may choose to wrap some C code in C++ or just export C functions directly.

CPallini 9-Sep-13 3:03am
Thank you, Carlo.

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