Solved

converting an EXE project to a DLL project

Posted on 2004-05-01
1
700 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to check if url exists using c++? 6 598
How can we convert the vba code to c# code 2 496
C# .net upload large image file 3 414
How to correct a C6001issue? 5 209
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…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

863 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

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now