OK, so I've finished my little MFC-based
application and its time to export it to
throngs of eager users! This is my first MFC/C++ project, so I'm trying to
figure out how to do things...
My app is pretty simple, I do not use
any active X stuff, nor COM, nor ATL, etc. Its just MFC and C++. Hence, from
something I read somewhere, I guessed that it needs 2 DLLs - namely, MFC42.DLL
and MSVCRT.DLL. I ran depends.exe on it
and it showed these 2, and also showed
3 others which I think are pretty clearly from the windows OS itself, and
so I don't think I need to worry about them - they would be on any 32bit windows machine (I would like my app to
run on 98,NT,2000, maybe 95?)
OK. As I've been learning stuff in the
windows/MFC world, I've kinda ignored
learning about DLLs cause I always said
that "I'll just statically link my app".
Now I discover that VC++ "standard
edition" doesn't support static linking
of the MFC lib; I need to upgrade to the
professional edition for that. Arg.
By the way, why did MS set it up this
way? In my mind statically linking is
a "simple basic" thing thta I thought
would be available everywhere -- why put
it in the "fancier" version of VC++?
Anyway... I'm getting to my question(s),
please bear with my ramblings....
So, looks like I have two choices:
A) upgrade to Prof edition, ask for
static linking, and be done with it.
B) learn how to export those 2 DLLs and
"register" them with the target
My problem is that I have no clue how to
export DLLs and register them -- I think
the logic is that my installer program
needs to check the target machine, and if there's no DLL or an older version,
then I need to stick the DLL on the target machine and then I have to incant
some mysterious "registration" command
to tell the OS its there. Is that about
My current plan to actually do the export and the setup/install at the
target is based on using a little
product called "INF-Tool" from
Inner-Smile.com. anyone used it? Is it
going to help me check and register my
I would appreaciate any suggestions or
corrections to my understanding of all
this! Thanks in advance!!