CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Build error

  1. #1
    Join Date
    May 1999
    Posts
    10

    Build error

    Hi all,
    I wrote to the author, Rex Myers, of the CGridListCtrl and haven't heard
    from him. I was hoping that someone might be able to help me with what
    seems an easy, if annoying, problem.

    I've downloaded and installed the MS Platform SDK and pointed the MS
    VC++5.0 include and library paths to them in the appropriate project
    settings locations. When I link with this setup, I get:

    "c:\Program Files\MSPlatform SDK\bin\kernel32.lib: fatal error LNK1106:
    invalid file or disk full: cannot seek to 0x35cd8916"

    Looking at the error code and file given, it appears that too much is
    being picked up from the MSPlatform SDK directory, so I tried to copy
    just the two files (CommCtrl.h and ComCtl32.lib) to the default
    directory (after backing up the original files) and removed the links
    from the IDE. The compile bombs. Various, basic typedefs are not defined
    such as DWORD_PTR, INT_PTR, etc.

    I solved the second problem with the blown compile by adding the file
    BaseTsd.h to my ...\VC\include directory adding the line:

    #include <BaseTsd.h>

    to my stdafx.h file and changing several IDE generated files from

    #include <afx.h>

    to

    #include "stdafx.h"

    Now the whole mess compiles, but another linker error is uncovered. Now
    it looks like this:

    C:\Program Files\DevStudio\VC\bin\comctl32.lib : fatal error LNK1106:
    invalid file or disk full: cannot seek to 0x35c16b88

    Looking up the error message leads me to believe that the two sets of
    files (VC++ 5.0 and MSPlatform SDK) have some sort of incompatible
    memory mapped file setup.

    Additionally, I noticed that the new ComCtl32.lib is only 20K while the
    old one is 116K. Is this right? Do I have a corrupted version?

    Thanks again,
    Mike Parrish









  2. #2
    Join Date
    Apr 1999
    Location
    CA, USA
    Posts
    78

    Re: Build error

    Hi Mike,

    I have the exact same problem as yours. So far, I don't have any clue. My guess is same as you that VC++ 5.0 is incompatible with the latest SDK.

    Lynx


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured