• Advertisement
Sign in to follow this  

Error in Visual Studio 2008 Pro after adding Icon resource

This topic is 2162 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I hope I am allowed to ask this question in this forum.

I have trouble with a DirectX app using C++ in Visual Studio 2008. After adding an Icon resource my VS started acting up.

First the incremental linker starts to fail alot, and I need to Rebuild the entire solution.

Then with the classic code

bb.hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_ICON1));
bb.hIconSm = (HICON)LoadImage(hInstance, MAKEINTRESOURCE(IDI_ICON1), IMAGE_ICON, 16, 16, 0);


The build fails completly.

1>Linking...
1>LINK : C:\Users\XXXX\Documents\Visual Studio 2008\Projects\XXXX\Debug\Test.exe not found or not built by the last incremental link; performing full link
1>Embedding manifest...
1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>LINK : fatal error LNK1000: Internal error during IncrBuildImage
1> Version 9.00.21022.08
1> ExceptionCode = C0000005
1> ExceptionFlags = 00000000
1> ExceptionAddress = 000005D8 (00000000) "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\link.exe"
1> NumberParameters = 00000002
1> ExceptionInformation[ 0] = 00000008
1> ExceptionInformation[ 1] = 000005D8
1>CONTEXT:
1> Eax = 000005D8 Esp = 0028F090
1> Ebx = 40008150 Ebp = 0028F0BC
1> Ecx = 0007D670 Esi = 401048BC
1> Edx = 0028F0AC Edi = 0114D6C0
1> Eip = 000005D8 EFlags = 00010246
1> SegCs = 0000001B SegDs = 00000023
1> SegSs = 00000023 SegEs = 00000023
1> SegFs = 0000003B SegGs = 00000000
1> Dr0 = 00000000 Dr3 = 00000000
1> Dr1 = 00000000 Dr6 = 00000000
1> Dr2 = 00000000 Dr7 = 00000000
1>Test - 1 error(s), 0 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
[/quote]

I have tried alot of things, resetting to default settings. Going to a previous backup etc, still gives me incremental failure so prob a IDE setting somewhere.

Any thoughts?

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement