Discussion:
lnk1103 error after using xp sp2 platform sdk
(too old to reply)
bucher
2009-11-03 08:58:05 UTC
Permalink
Hi,

I installed xp sp2 platform sdk yesterday. After that I got a lnk1103 error
when building application with vc6. It says "shell32.lib(shguid.obj) : fatal
error LNK1103: debugging information corrupt; recompile module".

I have run vcvars.bat and setenv.bat followed readme document. But I got the
same error. Readme document said this sdk can be used under vc6 and vc.net.

How to eliminate this error?
Thanks in advanced.

bucher
Alex Blekhman
2009-11-03 09:31:17 UTC
Permalink
Post by bucher
I installed xp sp2 platform sdk yesterday. After that I got a
lnk1103 error when building application with vc6.
VC++ 6 is not supported anymore. The latest Platform SDK that
works with VC++ 6 released in February 2003. Newer SDK's won’t
work with VC++ 6.

Alex
bucher
2009-11-04 01:38:16 UTC
Permalink
VC++ 6 is not supported anymore. The latest Platform SDK that works with
VC++ 6 released in February 2003. Newer SDK's won’t work with VC++ 6.
Alex
Thanks for your reply. But my sdk was released in February 2001 and the
readme document said it can be used under vc6.

bucher
Carl Daniel [VC++ MVP]
2009-11-04 01:59:08 UTC
Permalink
Post by bucher
VC++ 6 is not supported anymore. The latest Platform SDK that works with
VC++ 6 released in February 2003. Newer SDK's won't work with VC++ 6.
Alex
Thanks for your reply. But my sdk was released in February 2001 and the
readme document said it can be used under vc6.
Then there are a couple of options.

1. You have a corrupt library - see if you can get that lib from another
source (a fresh download of the SDK, for example).
2. The linker isn't looking where you think it's looking. Try adding the
/verbose option to the linker command line to see where it's finding
shell32.lib.

-cd
bucher
2009-11-06 03:59:22 UTC
Permalink
Post by Carl Daniel [VC++ MVP]
Post by bucher
VC++ 6 is not supported anymore. The latest Platform SDK that works with
VC++ 6 released in February 2003. Newer SDK's won't work with VC++ 6.
Alex
Thanks for your reply. But my sdk was released in February 2001 and the
readme document said it can be used under vc6.
Then there are a couple of options.
1. You have a corrupt library - see if you can get that lib from another
source (a fresh download of the SDK, for example).
2. The linker isn't looking where you think it's looking. Try adding the
/verbose option to the linker command line to see where it's finding
shell32.lib.
-cd
I have checked the linked lib. It was correct. I have no problem with
release build. But I still have this problem with debug build.

Alex Blekhman
2009-11-04 08:09:55 UTC
Permalink
But my sdk was released in February 2001 and the readme document
said it can be used under vc6.
As Carl already said, then you should ensure that you link with
correct .LIB file. This linking problem is well known and usually
is stemming from newer SDK. See, for example:

"LNK1103 debugging informtion corrupt;"
http://groups.google.com/group/microsoft.public.vc.online_help/browse_frm/thread/1b1a9e70282a168c/2f5aa36d92c50f8d

HTH
Alex
Loading...