Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

converting an EXE project to a DLL project

Posted on 2004-05-01
1
Medium Priority
?
713 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

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

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…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

636 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