-
Notifications
You must be signed in to change notification settings - Fork 8
Create dll example in VisualStudio 2015
Henryk Paluch edited this page Jul 10, 2016
·
3 revisions
Warning: It is work in progress
Here is a step by step tutorial - how to create and use DLL in Visual Studio 2015
- having Visual Studio 2015 Installed - you can get Visual Studio Community from free.
- do not forget to install Visual C/C++ components of Visaul Studio
Run your Visual Studio 2015 (CE) - for example from Menu or Start...
In this part we will create solution DllExample2015 that would contain these projects:
- ExampleApp
- ExampleDll
Do this in Visual Studio:
- create new Solution clicking on menu File -> New -> Project... (yes - solution is created from project menu :-)
- Select Templates -> Visual C++ -> Win32
- Fill in:
- Name:
ExampleApp
(it is project name) - Solution name:
DllExample2015
- Name:
- leave checked create directory for solution
- click on OK
Win32 Application Wizard appears:
- click Next
- on Application Settings wizard page:
- select Console Application
- click on Finish
- Click on Solution Explorer tab (on right side)
- right-click on DllExample2015 Solution
- Choose Add -> New Project ...
- Select Installed -> Visual C/C++ -> Win32 and Win32 Console Item in list
- fill in:
Name:
ExampleDll
- click on OK
When Win32 Application Wizard appears then:
- click Next
- select Application Type:
DLL
- click Finish
TODO:
- change header, change cpp
- add Reference
- add Include path...
- add include to App
- add breakpoint
- debug
Copyright © Henryk Paluch. All rights reserved.
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License