Click here to Skip to main content
15,883,336 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
Questionsplit function Pin
ehsan161804-Feb-11 19:04
ehsan161804-Feb-11 19:04 
QuestionWhy Multiple projects Pin
Pranit Kothari4-Feb-11 8:28
Pranit Kothari4-Feb-11 8:28 
AnswerRe: Why Multiple projects Pin
Hans Dietrich4-Feb-11 9:23
mentorHans Dietrich4-Feb-11 9:23 
GeneralRe: Why Multiple projects Pin
Pranit Kothari5-Feb-11 4:22
Pranit Kothari5-Feb-11 4:22 
GeneralRe: Why Multiple projects Pin
Albert Holguin5-Feb-11 16:20
professionalAlbert Holguin5-Feb-11 16:20 
AnswerRe: Why Multiple projects Pin
jschell4-Feb-11 9:48
jschell4-Feb-11 9:48 
GeneralRe: Why Multiple projects Pin
Pranit Kothari5-Feb-11 4:22
Pranit Kothari5-Feb-11 4:22 
GeneralRe: Why Multiple projects Pin
jschell5-Feb-11 7:00
jschell5-Feb-11 7:00 
Pranit Kothari wrote:
What I have guessed from your answer is, suppose I have some set of classes that I am creating in one project and I will create another project and use that library. It it correct?


Yes and no.

I use the term library to refer to a deliverable. An example is a logging library like log4cpp.

A deliverable has an independent project schedule, has its own requirements and users of the library determine which version to consume by moving the binary (compiled) form into their project.

An application however might have different layers or blocks. Each would likely have their own project. (I usually won't break into layers/blocks if there is only one code file even if there is a conceptual difference.)

On the other hand for something like a windows service I always break the 'service' code into a project that does nothing but provide the basic start/stop and uses another project (called something like 'App') which encompasses the entire functionality of the windows service. So a layout would look like

MyService
    App
    Service
    OtherFunctionality
    lib
       MyOtherLibrary.dll



In the above the Service project refers to the App project and OtherFunctionality project and references the MyOtherLibrary.dll.

The App project refers to the OtherFunctionality project and references the MyOtherLibrary.dll as well.

Some very common functional blocks for me would be database layers, communication layers and business logic of different types. The App is also a block as it represents the application itself without requiring dependency specifically as a windows service. This makes it trivial to also deliver a stand alone console executable (which I always do as well.)
GeneralRe: Why Multiple projects Pin
Pranit Kothari5-Feb-11 17:42
Pranit Kothari5-Feb-11 17:42 
QuestionRequired msvcrt.pdb 7.0.2600.5512 Pin
ptr_Electron4-Feb-11 2:47
ptr_Electron4-Feb-11 2:47 
AnswerRe: Required msvcrt.pdb 7.0.2600.5512 Pin
John Schroedl4-Feb-11 5:19
professionalJohn Schroedl4-Feb-11 5:19 
AnswerRe: Required msvcrt.pdb 7.0.2600.5512 Pin
Hans Dietrich4-Feb-11 9:30
mentorHans Dietrich4-Feb-11 9:30 
QuestionCLI and Visual Studio 2008: IntelliSense Does not work Pin
Joschwenk6663-Feb-11 5:07
Joschwenk6663-Feb-11 5:07 
AnswerRe: CLI and Visual Studio 2008: IntelliSense Does not work Pin
John Schroedl3-Feb-11 8:45
professionalJohn Schroedl3-Feb-11 8:45 
QuestionHow to cancel console application? Pin
piul31-Jan-11 5:41
piul31-Jan-11 5:41 
AnswerRe: How to cancel console application? Pin
Luc Pattyn31-Jan-11 6:00
sitebuilderLuc Pattyn31-Jan-11 6:00 
GeneralRe: How to cancel console application? Pin
piul31-Jan-11 21:11
piul31-Jan-11 21:11 
AnswerRe: How to cancel console application? Pin
Luc Pattyn1-Feb-11 3:04
sitebuilderLuc Pattyn1-Feb-11 3:04 
QuestionCString question Pin
ptr_Electron27-Jan-11 18:07
ptr_Electron27-Jan-11 18:07 
AnswerRe: CString question Pin
Richard MacCutchan27-Jan-11 23:04
mveRichard MacCutchan27-Jan-11 23:04 
AnswerRe: CString question Pin
jschell28-Jan-11 8:58
jschell28-Jan-11 8:58 
QuestionI am working on Windbg to analyse [modified] Pin
ptr_Electron24-Jan-11 23:32
ptr_Electron24-Jan-11 23:32 
AnswerRe: I am working on Windbg to analyse Pin
Richard MacCutchan25-Jan-11 3:05
mveRichard MacCutchan25-Jan-11 3:05 
QuestionHow to display an image on a activex webpage Pin
simon alec smith23-Jan-11 1:42
simon alec smith23-Jan-11 1:42 
AnswerRe: How to display an image on a activex webpage Pin
N a v a n e e t h24-Jan-11 6:09
N a v a n e e t h24-Jan-11 6:09 

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.