Solved

converting an EXE project to a DLL project

Posted on 2004-05-01
1
699 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
Comment Utility
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Cchar * Concating 7 89
Threading Question in Visual C 1 53
Convert CString to String C++ 25 515
Auto build a project upon execution 20 69
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

744 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

16 Experts available now in Live!

Get 1:1 Help Now