Click here to Skip to main content
15,915,818 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: error while complie idl in Visual studio 2005 Pin
Roger Stoltz28-Oct-08 9:21
Roger Stoltz28-Oct-08 9:21 
QuestionCreating Dll files with multiple header and source files Pin
ajorge200827-Oct-08 6:17
ajorge200827-Oct-08 6:17 
QuestionRe: Creating Dll files with multiple header and source files Pin
Mark Salsbery27-Oct-08 6:29
Mark Salsbery27-Oct-08 6:29 
AnswerRe: Creating Dll files with multiple header and source files Pin
ajorge200827-Oct-08 6:32
ajorge200827-Oct-08 6:32 
GeneralRe: Creating Dll files with multiple header and source files Pin
Mark Salsbery27-Oct-08 6:40
Mark Salsbery27-Oct-08 6:40 
AnswerRe: Creating Dll files with multiple header and source files Pin
Roger Stoltz27-Oct-08 6:31
Roger Stoltz27-Oct-08 6:31 
GeneralRe: Creating Dll files with multiple header and source files Pin
ajorge200827-Oct-08 6:45
ajorge200827-Oct-08 6:45 
AnswerRe: Creating Dll files with multiple header and source files Pin
Roger Stoltz27-Oct-08 7:03
Roger Stoltz27-Oct-08 7:03 
ajorge2008 wrote:
Essentialy, my problem is how to insert my .h and .c files in a project to build a .dll one.


In that aspect there's no difference between a DLL project and an ordinary project.
You add the files in the solution/project explorer.

One difference you will eventually come across is that a DLL exposes some kind of interface, a number of functions you can call from the client that loads the DLL.
Try to keep things as simple as possible and gather all the functions in the exposed DLL interface in one single source (.c / .cpp) file.
Since a DLL serves to perform operations that are logically connected in way or the other, it makes sense have the interface implemented in one single file. At least in the beginning.

Mark has provided you with another good starting point.


"It's supposed to be hard, otherwise anybody could do it!" - selfquote
"High speed never compensates for wrong direction!" - unknown


QuestionCDocManager::DoPromptFileName(...) error Pin
yellowine27-Oct-08 4:58
yellowine27-Oct-08 4:58 
AnswerRe: CDocManager::DoPromptFileName(...) error Pin
KarstenK27-Oct-08 5:13
mveKarstenK27-Oct-08 5:13 
GeneralRe: CDocManager::DoPromptFileName(...) error Pin
yellowine27-Oct-08 6:21
yellowine27-Oct-08 6:21 
QuestionRe: CDocManager::DoPromptFileName(...) error Pin
David Crow27-Oct-08 5:16
David Crow27-Oct-08 5:16 
AnswerRe: CDocManager::DoPromptFileName(...) error Pin
yellowine27-Oct-08 6:26
yellowine27-Oct-08 6:26 
GeneralRe: CDocManager::DoPromptFileName(...) error Pin
KarstenK28-Oct-08 21:26
mveKarstenK28-Oct-08 21:26 
Question[Message Deleted] Pin
Andy20227-Oct-08 4:23
Andy20227-Oct-08 4:23 
QuestionRe: Shared Library Pin
CPallini27-Oct-08 4:32
mveCPallini27-Oct-08 4:32 
QuestionCaptionBar in a VS6.0 program Pin
Larry Mills Sr27-Oct-08 4:09
Larry Mills Sr27-Oct-08 4:09 
Answer[OT] Re: CaptionBar in a VS6.0 program Pin
David Crow27-Oct-08 5:17
David Crow27-Oct-08 5:17 
QuestionVS 2008 MFC App under NT 4.0 Pin
ToSchi9827-Oct-08 4:04
ToSchi9827-Oct-08 4:04 
AnswerRe: VS 2008 MFC App under NT 4.0 Pin
James R. Twine27-Oct-08 4:29
James R. Twine27-Oct-08 4:29 
AnswerRe: VS 2008 MFC App under NT 4.0 Pin
KarstenK27-Oct-08 4:55
mveKarstenK27-Oct-08 4:55 
AnswerRe: VS 2008 MFC App under NT 4.0 Pin
Graham Bradshaw27-Oct-08 5:00
Graham Bradshaw27-Oct-08 5:00 
QuestionConvert String Pin
akshay.is.gr827-Oct-08 2:01
akshay.is.gr827-Oct-08 2:01 
AnswerRe: Convert String Pin
CPallini27-Oct-08 2:42
mveCPallini27-Oct-08 2:42 
QuestionHow to changae installer GUI dialog box Text??? Pin
tarunclassic27-Oct-08 0:38
tarunclassic27-Oct-08 0:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.