Click here to Skip to main content
16,011,120 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Linker optimizations & RuntimeClass info Pin
Tim Smith26-Mar-02 9:58
Tim Smith26-Mar-02 9:58 
Generalwhy don't my column headers show up in my dialog :confused: Pin
26-Mar-02 8:44
suss26-Mar-02 8:44 
GeneralRe: why don't my column headers show up in my dialog :confused: Pin
Joaquín M López Muñoz26-Mar-02 9:05
Joaquín M López Muñoz26-Mar-02 9:05 
GeneralMultithreading, DLL's and COM Pin
#realJSOP26-Mar-02 8:12
professional#realJSOP26-Mar-02 8:12 
GeneralRe: Multithreading, DLL's and COM Pin
Tim Smith26-Mar-02 8:23
Tim Smith26-Mar-02 8:23 
GeneralRe: Multithreading, DLL's and COM Pin
#realJSOP26-Mar-02 10:02
professional#realJSOP26-Mar-02 10:02 
GeneralRe: Multithreading, DLL's and COM Pin
Tim Smith26-Mar-02 10:21
Tim Smith26-Mar-02 10:21 
GeneralRe: Multithreading, DLL's and COM Pin
#realJSOP27-Mar-02 3:39
professional#realJSOP27-Mar-02 3:39 
No, but I don't really have any control over that. The app exists in what amounts to an un-editable state, meaning I'm not permitted to change the app to work with my DLL. This actually makes sense to me because we have other DLL's that could be used instead of the one I've written that work the way the app is current written.

There are aspects of this code that are INFURIATING, but the legacy is over seven years old. Like any other project I've been involved with over the last 15 years, nobody wants to pony up the bucks to make the code more maintainable by programmers that are new to the team. There's an almost complete lack of real technical documentation, and most of the guys that wrote the original code are LONG gone.

Of course, in-source comments are non-existant in the most critical parts of the code, so the only wehicle we have is to review the source code one line at a time. I'm apprehensive about rebuilding the code unless we start from scratch because nobody is absolutely sure (and more often than not, not even remotely knowledgable) about how all the code interacts.

It doesn't help when the code exhibits an eclectic coding style and non-adherance to anything that could be called corporate policy about how to write/format the code. Add to that an insane lack of use of MFC except when (apparently) absolutely necessary, and things start to get real whacked out.

Finally, there's the issue of source code control. We use Visual SourceSafe, and most fot eh files are linked between major revisions of the code, so changing version 2 will also effect changes version 1. How absolutely stupid is that?

What's funny is that we all agree that it needs to be fixed, but upper management would just laugh us out of the office if we suggested that we take the time to do so at our own expense (without having a "customer" to pay the bill). The effort would probably require the better part of a year (or more) just because we no longer have the original authors availble to us, and we lack the documentation that describes the architecture.

Let this be a lesson to everyone else - you can NEVER have too much design and implementation documentation.



"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
GeneralRelease version works but Debug version does not work Pin
mantrashrim26-Mar-02 8:14
mantrashrim26-Mar-02 8:14 
GeneralRe: Release version works but Debug version does not work Pin
Tim Smith26-Mar-02 8:24
Tim Smith26-Mar-02 8:24 
GeneralRe: Release version works but Debug version does not work Pin
Jim A. Johnson26-Mar-02 8:21
Jim A. Johnson26-Mar-02 8:21 
GeneralRe: Release version works but Debug version does not work Pin
mantrashrim27-Mar-02 6:19
mantrashrim27-Mar-02 6:19 
GeneralOnUpdateXXX(CCmdUI *pCmdUI)! ! ! Pin
BlackSmith26-Mar-02 7:31
BlackSmith26-Mar-02 7:31 
GeneralRe: OnUpdateXXX(CCmdUI *pCmdUI)! ! ! Pin
Joaquín M López Muñoz26-Mar-02 9:10
Joaquín M López Muñoz26-Mar-02 9:10 
QuestionCallback f(x)'s? Pin
Joan M26-Mar-02 6:54
professionalJoan M26-Mar-02 6:54 
AnswerRe: Callback f(x)'s? Pin
Joaquín M López Muñoz26-Mar-02 7:04
Joaquín M López Muñoz26-Mar-02 7:04 
General(repost) CriticalSection Question Pin
ChiYung26-Mar-02 6:34
ChiYung26-Mar-02 6:34 
GeneralRe: (repost) CriticalSection Question Pin
Le centriste26-Mar-02 6:35
Le centriste26-Mar-02 6:35 
GeneralRe: (repost) CriticalSection Question Pin
Tomasz Sowinski26-Mar-02 11:35
Tomasz Sowinski26-Mar-02 11:35 
GeneralEdit Boxes Pin
26-Mar-02 6:33
suss26-Mar-02 6:33 
GeneralRe: Edit Boxes Pin
Mazdak26-Mar-02 8:03
Mazdak26-Mar-02 8:03 
GeneralBitmaps Pin
26-Mar-02 5:52
suss26-Mar-02 5:52 
GeneralBitmaps Disappearing Pin
26-Mar-02 4:47
suss26-Mar-02 4:47 
GeneralRe: Bitmaps Disappearing Pin
dazinith26-Mar-02 5:53
dazinith26-Mar-02 5:53 
GeneralRe: Bitmaps Disappearing Pin
26-Mar-02 6:02
suss26-Mar-02 6:02 

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.