Re: newbie question: Can I modify MFC source code?
- From: "David Webber" <dave@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 31 Aug 2008 16:24:37 +0100
"asm23" <asmwarrior@xxxxxxxxx> wrote in message news:g9e80b$75a$1@xxxxxxxxxxx
Hi, everyone, suddenly, a strange question came to my mind:
If for some reasons or own desire.....
Can I modify the MFC source code, and rebuild the MFC***.DLL and libs?
It seems no one have talked this issue on this news groups.
Any suggestion? Thank you.
To paraphrase Joe: the quality control/quality assurance issues if you do this are enormous. i.e. "yes but it is a really bad idea".
A while back, there was one issue which would have required this. I was looking at making a program run under Windows 98 and supporting Unicode. Microsoft had "sort of" provided a way to do this with the "Microsoft Layer for Unicode" - see eg http://www.microsoft.com/globaldev/handson/dev/mslu_announce.mspx
Buried beneath the smallest of the small print was however a small problem: it doesn't work with MFC DLL's; only with statically linked MFC. I have a program which is an exe and a collection of DLLs, a number of which are MFC extension DLLs. Static linking is not an option.
Going into it a bit further, I learned that it could be made to work by making small changes to the MFC DLLs and recompiling, but that Microsoft had no plans to supply the DLLs in a form containing those small changes (and I guess technically it might be breach of copyright).
So I thought "this sounds like a really bad idea" and the day my program supports Unicode (the next release) will be the day it stops supporting Windows 98.
Dave
--
David Webber
Author of 'Mozart the Music Processor'
http://www.mozart.co.uk
For discussion/support see
http://www.mozart.co.uk/mozartists/mailinglist.htm
.
- Prev by Date: Re: AfxRegisterWndClass() within dll
- Next by Date: Re: Capturing USB data?
- Previous by thread: Re: newbie question: Can I modify MFC source code?
- Next by thread: Re: newbie question: Can I modify MFC source code?
- Index(es):
Relevant Pages
|
Loading