Solved

converting an EXE project to a DLL project

Posted on 2004-05-01
1
702 Views
Last Modified: 2010-04-24
I want to convert my Visual C++.NET project from making an EXE file to making a DLL (with exported functions).

In the Project >> <my project name> Properties... menu item, in the "General" section there's a "Configuration Type" ring that I can change from "Application (.exe)" to "Dynamic Library (.dll)", but no DLL is ever produced in my project's directory or subdirectories.

How to I make my project generate a DLL?
0
Comment
Question by:bmihura
1 Comment
 
LVL 48

Accepted Solution

by:
AlexFM earned 250 total points
ID: 10970325
Create new Dll project and move code to it. Dll requires some code which is not presened in exe (DllMain function), and exe contains code which is not needed in Dll (main or WinMain function). There are a lot of differencies in the project settings for Dll and exe, so creating of new project is simplest way.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
In Easy String Encryption Using CryptoAPI in C++ (http://www.experts-exchange.com/viewArticle.jsp?aid=1193) I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question