
Help with compiling a "canned" program
Quote:
> I try to compile the following MS Visual C++ 5.0 MSDN
> (Library-Visual Studio 97) program. Which I copied from
> the MSDN InfoViewer CD-ROM directory:
> Microsoft Developer Network Visual Studio Edition
> Sample Code for Articles and Books
> Book Samples
> Programming the Window 95 User Interface Samples
> PROPS: Uses Property Sheets in Windows 95
> I get the following Link error:
> LNK1104: cannot open file "mfc30d.lib"
> Does this library come with C++ 5.0, or
> is it not in the standard library search path?
> I would appreciate any help you can give. Thanks
> in advance.
The InfoViewer topic associated with this example includes the line:
"PROPS was built and tested under a preliminary version of Windows 95 using
Microsoft Visual C++(TM) version 2.1."
mfc30d.lib was the MFC ver 3 library distributed with VC++ ver 2. You
should have MFC ver 4.2 that came with VC++5.
If you look at Project/Settings/Link for the PROPS project, you will see
Object/library modules:
mfc30d.lib mfco30d.lib mfcd30d.lib mfcuia32.lib mfcans32.lib comctl32.lib
Try deleting the first three filenames and seeing what happens
--
David Hart
To reply, remove the XXX from my email address: