manifest

How do I add a manifest to an executable using mt.exe?

蹲街弑〆低调 提交于 2019-12-17 10:25:38
问题 I'm trying to use mt.exe from the Windows SDK to add a manifest to an executable file that doesn't have one, using the following command line: C:\winsdk61>mt.exe -nologo -manifest "r:\shared\hl.exe.manifest" -updateresource:"r:\shared\hl33m.exe;#1" Unfortunately, when I do, I get this error: mt.exe : general error c101008c: Failed to read the manifest from the resource of file "r:\shared\hl33m.exe". The specified resource type cannot be found in the image file. Of course the resource wasn't

Command line tool to dump Windows DLL version?

倖福魔咒の 提交于 2019-12-17 06:29:05
问题 I need a command line tool to dump standard Windows DLL version info so I can process it by means of a bash script (Cygwin). As a Java developer I am not very used to Microsoft development tools (though I have a little bit of experience with Microsoft Visual Embedded C++ 4.0 and Microsoft Visual Basic 6.0). The appropriate tool seems to be mt.exe, as stated on SO. However the only chance I have found to get this little application is to download a 1.29 GB ISO of the Windows SDK for Windows

My HTML5 Application Cache Manifest is caching everything

半腔热情 提交于 2019-12-17 05:45:46
问题 UPDATE: ** I posted this question when this feature was really new, I realize now that this feature should not be used this way unless it is used via JavaScript. but seems like this hack is a great solution for most beginners who make the same mistake and misuse of this feature. If you want to cache everything except your HTML this should be done with JS or you could use the solution below ** I guess my question boils down to this: If the file referencing the manifest using the manifest

Why has it failed to load main-class manifest attribute from a JAR file?

*爱你&永不变心* 提交于 2019-12-17 05:41:19
问题 I have created a JAR file in this way jar cf jar-file input-files . Now, I'm trying to run it. Running it does not work (jre command is not found): jre -cp app.jar MainClass This does not work either: java -jar main.jar (Failed to load Main-Class manifest attribute from main.jar). I also found out that To run an application packaged as a JAR file (version 1.2 -- requires Main-Class manifest header) What is the "Main-Class manifest header"? How do I create it and where do I put it? 回答1: I'm

How can I embed an application manifest into an application using VS2008?

巧了我就是萌 提交于 2019-12-17 04:06:49
问题 I've read here and here for ways to embed my application's manifest files inside the PE but these steps do not seem to work for VC#:VS2008 - VS2008 doesn't even come with mt.exe (as far as i know) How might I go about doing this? 回答1: You can add a manifest to your C# application by following these steps: Right-click on your project in the Solution Explorer Select "Add New Item" from the context menu. Choose "Application Manifest File" from the list of options in the dialog box that appears.

How can I embed an application manifest into an application using VS2008?

安稳与你 提交于 2019-12-17 04:06:46
问题 I've read here and here for ways to embed my application's manifest files inside the PE but these steps do not seem to work for VC#:VS2008 - VS2008 doesn't even come with mt.exe (as far as i know) How might I go about doing this? 回答1: You can add a manifest to your C# application by following these steps: Right-click on your project in the Solution Explorer Select "Add New Item" from the context menu. Choose "Application Manifest File" from the list of options in the dialog box that appears.

Altering DLL search path for static linked DLL

与世无争的帅哥 提交于 2019-12-17 03:18:13
问题 I've searched for any hints how I can do this, but all I found was how to redirect a SxS DLL to the local application folder. Here is what I want to accomplish: The (C++) Application.exe is linked to a DLL, Plugin.DLL (dependant project). This DLL is not placed inside the application directory, but in a subfolder called "plugins". As the DLL is statically linked, the application would try to load it from the application folder. Is there any way how I can change the search path for this

Generate manifest files for registration-free COM

一世执手 提交于 2019-12-16 20:44:46
问题 I have some applications (some native, some .NET) which use manifest files so that they can be deployed in complete isolation, without requiring any global COM registration. For example, the dependency on the dbgrid32.ocx com server is declared as follows in the myapp.exe.manifest file which sits in the same folder as myapp.exe: <?xml version="1.0" encoding="utf-8" standalone="yes"?> <assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1"> <assemblyIdentity type="win32" name=

Generate manifest files for registration-free COM

三世轮回 提交于 2019-12-16 20:44:27
问题 I have some applications (some native, some .NET) which use manifest files so that they can be deployed in complete isolation, without requiring any global COM registration. For example, the dependency on the dbgrid32.ocx com server is declared as follows in the myapp.exe.manifest file which sits in the same folder as myapp.exe: <?xml version="1.0" encoding="utf-8" standalone="yes"?> <assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1"> <assemblyIdentity type="win32" name=

Android: Is there a uses-feature option for the sd card?

[亡魂溺海] 提交于 2019-12-14 03:53:15
问题 Some of the newer devices coming out from Google do not include an sd card, and it appears they are moving towards this direction. My question: Is there a way to declare the sd card as a uses-feature to prevent people without an external storage from seeing/downloading the app from Google Play? I realize this is not the correct way to address the issue, but until i can re-code my apps to anticipate this, I am hoping there is a filtering option in the manifest? 回答1: There is no <uses-feature>