Click here to Skip to main content
15,884,059 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I had build project BaseClasses. And after i add it to other project i get error.
What i build library, i get following error:
1>Embedding manifest...
1>Project : error PRJ0002 : Error result -1073741819 returned from 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\mt.exe'.


My operating system is Windows 7 and Visual Studio 9.0.
Also i have got Visual Studio 6.0.

What should i do?

<update>
I tryed to recreate VS 9.0 project from VS 7.1 project and build it. No effect.
Posted
Updated 25-Jan-11 2:41am
v5
Comments
Richard MacCutchan 21-Jan-11 9:35am    
Does this happen on every build? Have you tried doing a complete rebuild of both projects?
[no name] 21-Jan-11 9:42am    
Every build. I tryed rebuild both projects. But it gives no effect.
[no name] 21-Jan-11 9:48am    
I think, that could begun, when i installed Windows SDK 7.1

Does this help?
http://support.microsoft.com/kb/948477[^]

<update> Replying to comments has become tedious

Kozlov_Sergey (KS): No, it doesn't (implicit reply)

Indivara (I): Try removing the setting that embeds the manifest

KS: That fixes error, but absence of manifest causes program to fail

I: What is in xxx.rsx? Can you manually create a VS2008 project and move all the source there?

KS: Is it possible without doing that? The source is OK, and looks like there are no errors in projects.
Build Log Build started: Project: MainFilter, Configuration: Release|Win32
Command Lines
Creating temporary file "c:\Depot\DVD Morpher 3.0\MainFilter\Release\RSP00000138203264.rsp"
with contents [ /outputresource:"..\Bin\Release\MainFilter.ax;#2" /manifest ".\Release\MainFilter.ax.intermediate.manifest" ]

Creating command line "mt.exe @"c:\Depot\DVD Morpher 3.0\MainFilter\Release\RSP00000138203264.rsp" /nologo" Output Window

Embedding manifest...

Project : error PRJ0002 : Error result -1073741819 returned from 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\mt.exe'.

Results Build log was saved at "file://c:\Depot\DVD Morpher 3.0\MainFilter\Release\BuildLog.htm"
MainFilter - 1 error(s), 0 warning(s)

I: I'm a bit out of my depth here... how about starting with the second project (which has no dependencies?) and building that in VS2008? (just convert and build, no need to manually create vcproj)


</update>
 
Share this answer
 
v2
Comments
[no name] 21-Jan-11 9:56am    
I have got this line:

Creating command line "mt.exe @"c:\Depot\DVD Morpher 3.0\AVDVDDecV2\Release\RSP00001715005152.rsp" /nologo"

Should there be symbol "@"?
Indivara 21-Jan-11 10:15am    
Yes, I think so (haven't got VS here now)
A shot in the dark - try removing the setting that embeds the manifest.
[no name] 24-Jan-11 3:32am    
It seems to me, that without manifest COM component cannot be created. It was build. But, when i create component, it fails. When i had file with manifest, component had been loaded successfully.
Indivara 24-Jan-11 3:58am    
Sorry, I'm a bit dull right now... to recap, this is with a VC6 project converted and built on VS2008, isn't it? What's the "xxx.rsp" file you mentioned above? (where does it come from? Could there be something wrong in the source?)

Removing the manifest has fixed the error (as expected), but you need the manifest for proper operation... how about creating the solution and project files in VS2008 directly, then adding the sources to it? Or are there a prohibitively large number of projects?
[no name] 24-Jan-11 4:06am    
I build 2 projects in Visual Studio 9.0. Second project, i have modified, has the same problem. Second project was created in Visual Studio 7.1, so i cannot downgrade to Visual Studio 6.0. First project depends from second.

Build Log Build started: Project: MainFilter, Configuration: Release|Win32
Command Lines Creating temporary file "c:\Depot\DVD Morpher 3.0\MainFilter\Release\RSP00000138203264.rsp" with contents
[
/outputresource:"..\Bin\Release\MainFilter.ax;#2" /manifest

".\Release\MainFilter.ax.intermediate.manifest"
]
Creating command line "mt.exe @"c:\Depot\DVD Morpher 3.0\MainFilter\Release\RSP00000138203264.rsp" /nologo"
Output Window Embedding manifest...
Project : error PRJ0002 : Error result -1073741819 returned from 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\mt.exe'.
Results Build log was saved at "file://c:\Depot\DVD Morpher 3.0\MainFilter\Release\BuildLog.htm"
MainFilter - 1 error(s), 0 warning(s)
-1073741819 is FFFFFFFFC0000005 so that might indicate some kind of "access denied" problem. Also, I seem to remember having a problem with an old copy of mt.exe being invoked. Check all your hard drives for all copies of mt.exe, and make sure you're using the latest one.
 
Share this answer
 
Comments
[no name] 24-Jan-11 8:03am    
There is the path 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\mt.exe'. It is not old. It is file from Windows SDK coming with VS 9.0. I have one more mt.exe, but it is not used (i have checked renaming the file and rebuilding).
It seems to me, that i have found solution: NET Framework 4.0 is required.
I tryed to create using mt.exe from command line. NET Framework 4.0 request message appered.
 
Share this answer
 
Comments
Hans Dietrich 24-Jan-11 9:17am    
Wow. .NET 4.0 wasn't around when VS2008 was released. Are you sure you're using the right mt.exe? What does the version resource say?
[no name] 24-Jan-11 9:31am    
That means library, requred by mt.exe was updated and now requres NET Framework 4.0.30319.
[no name] 24-Jan-11 9:22am    
I had NET Framework 4.0 installed. Repair does not give any effect.
[no name] 24-Jan-11 9:30am    
I use
"C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\mt.exe
" -manifest "C:\Depot\DVD Morpher 3.0\AVDVDDecV2\Release\AVDVDDecV2.dll.intermed
iate.manifest" -outputresource:"C:\Depot\DVD Morpher 3.0\Bin\Release\AVDVDDecV2.
dll"
Hans Dietrich 24-Jan-11 9:34am    
The version info for my mt.exe in v6.0a\Bin:
Version 5.2.3790.2075
Size: 719KB
(there is a different mt.exe for x64)
Removing Windows 7 SDK and NET Framework solved problem.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900