Somewhat long and rambling but I think I get to some kind of point at the
end
Every time I build a driver, I wind up with 6 different .sys files - checked
& free for x86, amd64 and ia64. If the driver also has a support DLL, App or
whatever, well, do the math.
I posted a note a while back about what editor to use and the consensus
seems to be to stick with VS 6. Thatâs fine with me. Iâve got it set up now
to use the DDK compiler and it seems to work OK for browsing driver code.
(Using the VS driver configuration seems to break everything for DLLs, COM
stuff and GUI apps. I need to do a little more work.)
Iâm not happy with the idea that I can only have a WIN32 environment in VS 6
(I know about VS for Alpha giving you other environments but that doesnât
help) and I donât like the idea of kludging some sort of batch file âhiddenâ
under some obscure config tab to build the other stuff.
At the moment, Iâm leaning toward using Microsoftâs build/dirs/sources
mechanism to build everything for all platforms. All of NT/2000/XP etc is
built this way so itâs got to work. I see the following advantages:
- Microsoft shows no signs of changing this process.
- The 64-bit environments are in a state of flux and will be for some years
to come. Letting Microsoft fix âmyâ tools at the same they fix theirs is a
good thing. 3. Generally speaking, I donât have to document some home-grown
build process and the people I do piece work for can pass the projects on to
others with a high expectation that they will work.
On the other hand, I see some disadvantages:
- Everything is built as a .lib and these are used to link executables.
While thereâs nothing wrong with this, it gets kind of messy when you take
an old VS project for instance that has stuff scattered all over everywhere. - What files can be in what directories is very inflexible. 3. At the
moment, it seems that all DLLs must have .def files to define exports. Very
few people use these any more so you have to make them up (and disable the
_dllexport stuff).
So, my questions:
Does anyone else do this? (I know everyone uses the tools for drivers but
what about other stuff like GUI apps and COM objects?)
Are there any tools to help manage the dirs & sources files? (WHY didnât
they stick some kind of extension on these files? Grumble.) I need to do
some more learning on this but at the moment, using a VS project file and/or
an exported makefile to build a sources file looks *real* tedious.
Are there any documents other than the DDK that show the range of useful
options in the sources file? Some of the stuff documented in the latest DDK
isnât implemented and some of it works⌠well⌠differently than expected.
I wouldnât be going down this path if it werenât for all the different
platforms. Any thoughts appreciated.
Regards,
Mickey.