Click here to Skip to main content
15,914,013 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: making win32 Dll Pin
hrishiS2-Feb-09 0:09
hrishiS2-Feb-09 0:09 
GeneralRe: making win32 Dll Pin
Nishad S2-Feb-09 0:15
Nishad S2-Feb-09 0:15 
GeneralRe: making win32 Dll Pin
hrishiS2-Feb-09 0:22
hrishiS2-Feb-09 0:22 
GeneralRe: making win32 Dll Pin
Nishad S2-Feb-09 17:18
Nishad S2-Feb-09 17:18 
GeneralRe: making win32 Dll Pin
hrishiS2-Feb-09 19:51
hrishiS2-Feb-09 19:51 
GeneralRe: making win32 Dll Pin
Nishad S2-Feb-09 19:55
Nishad S2-Feb-09 19:55 
GeneralRe: making win32 Dll Pin
hrishiS1-Feb-09 20:10
hrishiS1-Feb-09 20:10 
AnswerRe: making win32 Dll Pin
Iain Clarke, Warrior Programmer1-Feb-09 23:04
Iain Clarke, Warrior Programmer1-Feb-09 23:04 
Judging by the conversation, you are asking "I have a screwdriver, please tell me how to build a house".

Your question is too big for somebody to type an answer - It would cover pages.

Have look at the following article about DLLs:
http://www.codeproject.com/KB/DLL/dll.aspx[^]
There are many good articles in that category too.

Assuming VS6 (I presume it is similar in later versions) what I would do is:

1/ Make an empty workspace.

2/ Make an exe project in that workspace - but in a subdirectory. Do not compile.

3/ Make an dll project in that workspace - but in a subdirectory. Do not compile.

4/ Make the dll a dependency of the exe.

5/ Go into the project settings of each sub project, and set the output directory to a common directory.

Now compile!

So, I normally have my project settings like this:
Intermediate files (obj's, etc): "Debug"
Output files: (exe's, dll's): "..\Debug"

I hope that gives you enough material to help you google things! I have not given you a magic answer that will solve everything for you in two minutes with no work or research.

Good luck, and please come back with any more specific questions (it will help if you say what version of C++ you are using)

Iain.

Codeproject MVP for C++, I can't believe it's for my lounge posts...

GeneralRe: making win32 Dll Pin
Nishad S1-Feb-09 23:45
Nishad S1-Feb-09 23:45 
GeneralRe: making win32 Dll Pin
Iain Clarke, Warrior Programmer1-Feb-09 23:56
Iain Clarke, Warrior Programmer1-Feb-09 23:56 
QuestionFunction Taking Generic Vector? Pin
gvanto1-Feb-09 18:01
gvanto1-Feb-09 18:01 
AnswerRe: Function Taking Generic Vector? [modified] Pin
Naveen1-Feb-09 18:41
Naveen1-Feb-09 18:41 
GeneralRe: Function Taking Generic Vector? Pin
Nishad S1-Feb-09 19:12
Nishad S1-Feb-09 19:12 
GeneralRe: Function Taking Generic Vector? Pin
Naveen1-Feb-09 19:23
Naveen1-Feb-09 19:23 
AnswerRe: Function Taking Generic Vector? Pin
Stephen Hewitt1-Feb-09 19:18
Stephen Hewitt1-Feb-09 19:18 
GeneralRe: Function Taking Generic Vector? Pin
gvanto2-Feb-09 12:26
gvanto2-Feb-09 12:26 
QuestionRe: Function Taking Generic Vector? Pin
gvanto2-Feb-09 12:56
gvanto2-Feb-09 12:56 
AnswerRe: Function Taking Generic Vector? Pin
Stephen Hewitt4-Feb-09 1:15
Stephen Hewitt4-Feb-09 1:15 
GeneralRe: Function Taking Generic Vector? Pin
gvanto5-Feb-09 11:44
gvanto5-Feb-09 11:44 
AnswerRe: Function Taking Generic Vector? Pin
Nishad S1-Feb-09 19:25
Nishad S1-Feb-09 19:25 
QuestionFolder Copy Pin
Davitor1-Feb-09 17:30
Davitor1-Feb-09 17:30 
AnswerRe: Folder Copy Pin
«_Superman_»1-Feb-09 17:58
professional«_Superman_»1-Feb-09 17:58 
GeneralRe: Folder Copy Pin
Davitor1-Feb-09 18:09
Davitor1-Feb-09 18:09 
QuestionRe: Folder Copy Pin
David Crow2-Feb-09 5:52
David Crow2-Feb-09 5:52 
AnswerRe: Folder Copy Pin
«_Superman_»1-Feb-09 18:12
professional«_Superman_»1-Feb-09 18:12 

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.