From: hobbes_7_8 on
Hi everybody!

I recently converted a VC++ 6.0 MFC project to Visual Studio .NET 2003.
Then I added a manifest file so that it gets Windows 2000 and XP look.
Then I converted it to Visual Studio .NET 2005. Now I get some warnings
that seem related to this:
----------
FolderDialog.cpp
CorrelationSaving.cpp
ARACrypt.cpp
Generating Code...
Compiling resources...
C:\Program Files\Microsoft Visual Studio
8\VC\atlmfc\include/afxres.h(28) : warning RC4005: 'IDR_MANIFEST' :
redefinition
Compiling manifest to resources...
Linking...
Embedding manifest...
Creating browse information file...
----------
Additionally, a forbidden symbol appears next to the manifest file:

http://img96.imageshack.us/img96/1860/forbiddennz3.png

Does anyone know how to solve these issues?

Thanks in advance!

André

From: Jonathan Wood on
The problem is that VS 2005 creates the manifest resource, thus the error
about redefinition.

I don't know why Microsoft didn't make this a little more simple or document
things a bit better but what it seems you need to do is delete your manifest
resource from the build, then add the following string to the
Linker|Manifest File|Additional Manifest Dependencies section of your
project properties:

"type='Win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0'
processorArchitecture='X86' publicKeyToken='6595b64144ccf1df' language='*'"

--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com


<hobbes_7_8(a)yahoo.com> wrote in message
news:1159196298.478109.264980(a)d34g2000cwd.googlegroups.com...
Hi everybody!

I recently converted a VC++ 6.0 MFC project to Visual Studio .NET 2003.
Then I added a manifest file so that it gets Windows 2000 and XP look.
Then I converted it to Visual Studio .NET 2005. Now I get some warnings
that seem related to this:
----------
FolderDialog.cpp
CorrelationSaving.cpp
ARACrypt.cpp
Generating Code...
Compiling resources...
C:\Program Files\Microsoft Visual Studio
8\VC\atlmfc\include/afxres.h(28) : warning RC4005: 'IDR_MANIFEST' :
redefinition
Compiling manifest to resources...
Linking...
Embedding manifest...
Creating browse information file...
----------
Additionally, a forbidden symbol appears next to the manifest file:

http://img96.imageshack.us/img96/1860/forbiddennz3.png

Does anyone know how to solve these issues?

Thanks in advance!

Andr?


From: hobbes_7_8 on
Yep, it worked fine. Thanks!

Jonathan Wood escreveu:
> The problem is that VS 2005 creates the manifest resource, thus the error
> about redefinition.
>
> I don't know why Microsoft didn't make this a little more simple or document
> things a bit better but what it seems you need to do is delete your manifest
> resource from the build, then add the following string to the
> Linker|Manifest File|Additional Manifest Dependencies section of your
> project properties:
>
> "type='Win32' name='Microsoft.Windows.Common-Controls' version='6.0..0.0'
> processorArchitecture='X86' publicKeyToken='6595b64144ccf1df' language='*'"
>
> --
> Jonathan Wood
> SoftCircuits Programming
> http://www.softcircuits.com
>
>
> <hobbes_7_8(a)yahoo.com> wrote in message
> news:1159196298.478109.264980(a)d34g2000cwd.googlegroups.com...
> Hi everybody!
>
> I recently converted a VC++ 6.0 MFC project to Visual Studio .NET 2003.
> Then I added a manifest file so that it gets Windows 2000 and XP look.
> Then I converted it to Visual Studio .NET 2005. Now I get some warnings
> that seem related to this:
> ----------
> FolderDialog.cpp
> CorrelationSaving.cpp
> ARACrypt.cpp
> Generating Code...
> Compiling resources...
> C:\Program Files\Microsoft Visual Studio
> 8\VC\atlmfc\include/afxres.h(28) : warning RC4005: 'IDR_MANIFEST' :
> redefinition
> Compiling manifest to resources...
> Linking...
> Embedding manifest...
> Creating browse information file...
> ----------
> Additionally, a forbidden symbol appears next to the manifest file:
>
> http://img96.imageshack.us/img96/1860/forbiddennz3.png
>
> Does anyone know how to solve these issues?
>
> Thanks in advance!
>
> André