Help with compiling a "canned" program 
Author Message
 Help with compiling a "canned" program

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.



Sun, 23 Jul 2000 03:00:00 GMT  
 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:



Mon, 24 Jul 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. ""help with TSR""

2. "Help" With C Program

3. Program from "Unix Network Programming"

4. "The C Programming Language" programs

5. Compile Error when Overriding "Equals"

6. Compiling to "ReleaseMinDependency"

7. Compiling "portable" code

8. Release Compile strange "null" literal

9. Compile files with ".cc" extension

10. CoCreateInstance( CLSID_DirectPlay "Compiling Problem"

11. Problem compiling code - "undeclared identifier"

12. Compile error "Internal error during SetupPhase"

 

 
Powered by phpBB® Forum Software