Click here to Skip to main content
15,927,694 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCreate Excel spreadsheet in VC++ 6.0 Pin
bettybei23-Feb-06 19:06
bettybei23-Feb-06 19:06 
AnswerRe: Create Excel spreadsheet in VC++ 6.0 Pin
Vinaya23-Feb-06 19:35
Vinaya23-Feb-06 19:35 
QuestionHow to catch ActiveX Install or Excute using BHO? Pin
Blue-Bird23-Feb-06 19:00
Blue-Bird23-Feb-06 19:00 
QuestionHelp! WAB API problem, searched all the webspace but no results! Pin
Atony Chen23-Feb-06 18:58
Atony Chen23-Feb-06 18:58 
AnswerRe: Help! WAB API problem, searched all the webspace but no results! Pin
Atony Chen24-Feb-06 23:43
Atony Chen24-Feb-06 23:43 
GeneralRe: Help! WAB API problem, searched all the webspace but no results! Pin
ThatsAlok26-Feb-06 19:10
ThatsAlok26-Feb-06 19:10 
Questionabout Solution habit Pin
FlyWithYou23-Feb-06 18:08
FlyWithYou23-Feb-06 18:08 
AnswerRe: about Solution habit Pin
Blake Miller24-Feb-06 5:19
Blake Miller24-Feb-06 5:19 
Usually, when one or more projects share files like that, then I place the 'shared' files in a folder SEPARATE frome other project, such as a 'Common' folder, and then reference the 'Common' folder for header file inclusion. The viusual studio lets you 'add' the files to the project. You can add the files from the 'Common' folder to each project tha needs them.

The reason to keep them separate is so that when the 'common' files reference a 'non-shared' header file like stdafx.h, they will see the correct header file from the respective project.

Otherwise, your two easy options are a statically linked library (LIB) or a dynamically linked library (DLL). These project would include the same code, theoretically, when used from one project to another.

Now, one reason I don't always go the LIB or DLL route is so that the 'shared' files take on the characteristics of their respctive project - UNICODE, multithreading, exception handling, etc. which can sometimes cause issues when you use a LIB or DLL built differently from your current project's settings.


People that start writing code immediately are programmers (or hackers), people that ask questions first are Software Engineers - Graham Shanks
QuestionCAsyncSocket::OnReceive not getting called Pin
nsrsetty23-Feb-06 18:07
nsrsetty23-Feb-06 18:07 
QuestionCHttpConnection - Post method Pin
vivek.s.vivek23-Feb-06 17:56
vivek.s.vivek23-Feb-06 17:56 
AnswerRe: CHttpConnection - Post method Pin
jigneshrpatel23-Feb-06 18:46
jigneshrpatel23-Feb-06 18:46 
GeneralRe: CHttpConnection - Post method Pin
vivek.s.vivek23-Feb-06 21:36
vivek.s.vivek23-Feb-06 21:36 
GeneralRe: CHttpConnection - Post method Pin
ThatsAlok26-Feb-06 18:48
ThatsAlok26-Feb-06 18:48 
QuestionCHttpConnection web request for post method Pin
murali_utr23-Feb-06 17:40
murali_utr23-Feb-06 17:40 
AnswerRe: CHttpConnection web request for post method Pin
murali_utr23-Feb-06 23:02
murali_utr23-Feb-06 23:02 
QuestionA Question On GDI+ Pin
Shuang. Wu23-Feb-06 17:39
Shuang. Wu23-Feb-06 17:39 
QuestionQuestion regarding SafeArrays Pin
godspeed12323-Feb-06 17:39
godspeed12323-Feb-06 17:39 
AnswerRe: Question regarding SafeArrays Pin
Michael Dunn23-Feb-06 17:43
sitebuilderMichael Dunn23-Feb-06 17:43 
Questionhelp++ Pin
jobits1223-Feb-06 15:29
jobits1223-Feb-06 15:29 
AnswerRe: help++ Pin
Michael Dunn23-Feb-06 17:40
sitebuilderMichael Dunn23-Feb-06 17:40 
AnswerRe: help++ Pin
ThatsAlok26-Feb-06 18:10
ThatsAlok26-Feb-06 18:10 
Questionhelp c++ Pin
jobits1223-Feb-06 14:50
jobits1223-Feb-06 14:50 
AnswerRe: help c++ Pin
Ryan Binns23-Feb-06 15:00
Ryan Binns23-Feb-06 15:00 
AnswerRe: help c++ Pin
BadKarma23-Feb-06 20:36
BadKarma23-Feb-06 20:36 
AnswerRe: help c++ Pin
ThatsAlok23-Feb-06 21:42
ThatsAlok23-Feb-06 21:42 

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.