?
Solved

converting an EXE project to a DLL project

Posted on 2004-05-01
1
Medium Priority
?
707 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 48

Accepted Solution

by:
AlexFM earned 1000 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

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…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

770 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