manifest

Building and deploying dll on windows: SxS, manifests and all that jazz

时光怂恿深爱的人放手 提交于 2019-12-04 09:01:28
问题 Since VS 2005, I see that it is not possible to simply build a dll against MS runtime and deploy them together (http://www.ddj.com/windows/184406482). I am deeply confused by manifest, SxS and co: MSDN documentation is really poor, with circular references; specially since I am more a Unix guy, I find all those uninformative. My core problem is linking a dll against msvc9 or msvc8: since those runtime are not redistributable, what are the steps to link and deploy such a dll ? In particular,

No main manifest attribute - IntelliJ

一笑奈何 提交于 2019-12-04 08:28:35
I know there have been many posts on this but I can't seem to find an appropriate solution. So I have my 3 classes, one with a main and from IntelliJ everything runs fine. But I cannot seem to run the .jar file that I have created. I also have a manifest file that contains the following: Manifest-Version: 1.0 Main-Class: beanParser I created the jar through the build option in IntelliJ. Any suggestions? Thanks Ronald Duck Have you considered the following link ? For Maven have a look at the following clip or this one . Here's a snipped I used in my project: <build> <plugins> <plugin> <groupId

Clojure program reading its own MANIFEST.MF

纵然是瞬间 提交于 2019-12-04 07:40:15
How can a Clojure program find its own MANIFEST.MF (assuming it is packaged in a JAR file). I am trying to do this from my "-main" function, but I can't find a class to use in the following code: (.getValue (.. (java.util.jar.Manifest. (.openStream (java.net.URL. (str "jar:" (.. (class **WHAT-GOES-HERE**) getProtectionDomain getCodeSource getLocation) "!/META-INF/MANIFEST.MF")))) getMainAttributes) "Build-number")) Thanks. This seems to work reliably: (defn set-version "Set the version variable to the build number." [] (def version (.getValue (.. (Manifest. (.openStream (URL. (str "jar:" (

Chrome extension custom cursor

和自甴很熟 提交于 2019-12-04 07:30:51
I building an Google Chrome extension that place some IMG tag in sites. This img tag on :hover must show a custom cursor. The extension uses jQuery as its injected core script. I tried the following methods: 1. var cursor = 'url('+chrome.extension.getURL('icons/cursor.cur')+')'; $('#myImgId').css({ 'position': 'absolute', 'top':'5px', 'left':'5px', 'cursor':cursor }); This is the best working. On smaller sites its shows the cursor. On slower loading sites it does not. But on little sites it fails sometimes. 2. var cursor = 'url('+chrome.extension.getURL('icons/cursor.cur')+')'; $('<style>

Enhanced system DPI scaling with VS2017

给你一囗甜甜゛ 提交于 2019-12-04 07:09:08
I have a MFC app that has default MFC DPI support: it is high DPI aware, but not per-monitor DPI aware. Windows 10 version 1703 added support for System (enhanced) DPI scaling . I enabled this mode from Windows Explorer in the .exe compatibility settings, and it works for my app. Ideally, I'd make the app fully multi-monitor DPI compliant, but that's a fair amount of work. So instead, I want to tell the OS to use system (enhanced) DPI scaling for my app, if the OS supports it. Does the applications's manifest enable this, and if so, what needs to be added or changed? Additionally, how do I

Get Application information from an APK using PHP script

久未见 提交于 2019-12-04 07:05:19
How can I get the versionCode , versionName , application icon and application label from an APK with PHP I'm not that familiar with php so I can't provide any code, but the idea is: unzip the APK file (since it's "nomal" zip format) open the AndroidManifest.xml and parse the <manifest> tag for android:versionCode and android:versionName If I'm not wrong, APKs are simply zip files. And android packages will have some sort of XML file that will mention the version information. In PHP, you can unzip as well as read XMLs. As you might know an APK is a simple zip formated archive with it's

Error - Could not find or load main class

穿精又带淫゛_ 提交于 2019-12-04 07:03:31
问题 I want to connect my java program to connect with database and retrieve the data. its compile perfectly but runtime im getting this Error : Could not find or load main class i have installed the Java SQL driver and added the jar path to the Environmental variable as CLASSPATH import java.sql.*; public class Java2Sql{ public static void main(String args[]){ String url = "jdbc:mysql://localhost:80/"; String dbName = "test"; String driver = "com.mysql.jdbc.Driver"; String userName = "root";

What needs to be added to the android manifest file for the zxing barcode scanner?

房东的猫 提交于 2019-12-04 06:44:19
问题 I have used Intent to integrate the zxing barcode scanner into my application but i am lost on what needs to be in the manifest. As of right now when i click on the button to launch the camera it causes a force close, when i click force close the barcode scanner opens up behind and works. The code linked to the button is as follows: public void onClick(View v) { Intent intent = new Intent("com.google.zxing.client.android.SCAN"); intent.setPackage("com.google.zxing.client.android"); intent

How do I include non-.py files in PyPI?

孤街浪徒 提交于 2019-12-04 06:42:08
I am a newb to PyPI...so let me qualify with that. I am trying to put a package on PyPI but having a bit of trouble when I try to install it with pip. When I upload the file to PyPI, I get a warning (but the setup.py script finishes with not fatal errors and a 200 status): 'my_package/static/my_folder' not a regular file -- skipping And then when I go to install it in pip, I get an error: "error: can't copy 'my_package/static/my_folder': doesn't exist or not a regular file. From other answers on SO, I've tried changing up my MANIFEST.in and my setup.py files, with no luck. Here is my current

AndroidManifest.xml with multiple application tags

烈酒焚心 提交于 2019-12-04 06:34:10
I'm very new to Android programming and I've been trying to figure out why my app is force-closing on a button-click. I've narrowed it down to a few things. One question; Is it possible to have more than one <application> tag in the manifest xml? Here is my code: <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.dummies.android.beergoggles" android:versionCode="1" android:versionName="1.0"> <uses-sdk android:minSdkVersion="8" /> <application android:icon="@drawable/icon" android:label="@string/app_name"> <activity android