Click here to Skip to main content
15,891,033 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Text Fle Filter Pin
_AnsHUMAN_ 1-Mar-09 17:28
_AnsHUMAN_ 1-Mar-09 17:28 
AnswerRe: Text Fle Filter Pin
«_Superman_»1-Mar-09 17:31
professional«_Superman_»1-Mar-09 17:31 
GeneralRe: Text Fle Filter Pin
rdop1-Mar-09 18:57
rdop1-Mar-09 18:57 
GeneralRe: Text Fle Filter Pin
Nishad S1-Mar-09 19:12
Nishad S1-Mar-09 19:12 
AnswerRe: Text Fle Filter Pin
Jijo.Raj1-Mar-09 21:52
Jijo.Raj1-Mar-09 21:52 
AnswerRe: Text Fle Filter Pin
Le@rner2-Mar-09 0:36
Le@rner2-Mar-09 0:36 
QuestionIs it possible to convert part of source code to library? Pin
sunny_vc1-Mar-09 15:22
sunny_vc1-Mar-09 15:22 
AnswerRe: Is it possible to convert part of source code to library? Pin
Garth J Lancaster1-Mar-09 15:55
professionalGarth J Lancaster1-Mar-09 15:55 
2 words : design, architecture

given you've told us diddly squat about what your dialog app is doing, its a bit hard - but the answer could be 'yes'

15 files ? it really depends on the functionality - whats in the '4' files that makes them special ?

If its a data processing/reformatting app for example, you may be able to seperate out the number crunching or string reformatting into a library/dll. You could even put your MFC stuff in an MFC Extension ...

But likely you are going to need to do some 'refactoring' so
sunilkumar.d wrote:
Or do i need to remove those 4 files and built them in to a separate work space as
library and add it to the complete project?


is also going to have to happen

So, suggestions ...

Isolate your functions ? in 4 files into a seperate project, build a dll
build a test harness for the dll and test it
then IN A COPY of your dialog app, graft in the dll
test test test
next time, think about the design a bit harder ..

thats still going to be a bit of work, but if for example you will want to use those functions again/elsewhere, you've done the hard bits ...

'g'
AnswerRe: Is it possible to convert part of source code to library? Pin
sunny_vc1-Mar-09 16:20
sunny_vc1-Mar-09 16:20 
AnswerRe: Is it possible to convert part of source code to library? Pin
Stuart Dootson1-Mar-09 21:59
professionalStuart Dootson1-Mar-09 21:59 
QuestionVC++ 6 Reading MS Excel fields Pin
RDEPTYLTD1-Mar-09 13:53
RDEPTYLTD1-Mar-09 13:53 
AnswerRe: VC++ 6 Reading MS Excel fields Pin
Dmytro Skrypnyk23-Mar-09 11:56
Dmytro Skrypnyk23-Mar-09 11:56 
QuestionC++ reads utf-8 xml file Pin
Member 47565741-Mar-09 11:52
Member 47565741-Mar-09 11:52 
AnswerRe: C++ reads utf-8 xml file Pin
Sarath C1-Mar-09 17:36
Sarath C1-Mar-09 17:36 
QuestionGetShortPathName Pin
tom groezer1-Mar-09 9:54
tom groezer1-Mar-09 9:54 
AnswerRe: GetShortPathName Pin
Stuart Dootson1-Mar-09 10:09
professionalStuart Dootson1-Mar-09 10:09 
GeneralRe: GetShortPathName Pin
tom groezer1-Mar-09 21:08
tom groezer1-Mar-09 21:08 
GeneralRe: GetShortPathName Pin
Stuart Dootson1-Mar-09 21:55
professionalStuart Dootson1-Mar-09 21:55 
QuestionStupid Menu Question Pin
Mats Selen1-Mar-09 8:19
Mats Selen1-Mar-09 8:19 
AnswerRe: Stupid Menu Question [modified] Pin
Stuart Dootson1-Mar-09 10:06
professionalStuart Dootson1-Mar-09 10:06 
GeneralRe: Stupid Menu Question Pin
Mats Selen1-Mar-09 10:47
Mats Selen1-Mar-09 10:47 
GeneralRe: Stupid Menu Question Pin
Stuart Dootson1-Mar-09 11:29
professionalStuart Dootson1-Mar-09 11:29 
GeneralRe: Stupid Menu Question Pin
Richard Andrew x641-Mar-09 13:22
professionalRichard Andrew x641-Mar-09 13:22 
GeneralRe: Stupid Menu Question Pin
Mats Selen2-Mar-09 1:40
Mats Selen2-Mar-09 1:40 
Questiontemplate and vector [modified] Pin
transoft1-Mar-09 7:24
transoft1-Mar-09 7:24 

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.