inf

ActiveX not working on client machine

本秂侑毒 提交于 2020-01-24 04:35:15
问题 I'm trying to run activex control for a simple hello world message box. First i created the class library and i have now the dll , then i created the HTML page and called the activeX control : <!DOCTYPE> <html> <head> <title>DemoActiveX</title> </head> <body> <OBJECT id="DemoActiveX" classid="clsid:400DCE17-4B26-4E59-9A88-AF39E2BE4A55"> </OBJECT> <script type="text/javascript"> try { var obj = document.DemoActiveX; if (obj) { alert(obj.SayHello()); } else { alert("Object is not created!"); }

.INF files: how to concatenate values in [Strings] section?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-24 14:32:40
问题 I have this in my .inf: [Strings] Driver_Name = "Our driver, build version 1112" For some reason (better SVN hook compatibility - want to assing build number at each time I commit .sys), want this to be: [Strings] DrvVer = "1111"; Driver_Name = "Our driver, build version %DrvVer" Unfortunately, this doesn't get processed, so %DrvVer% remains in place; the other idea is to use "%Driver_Name% %DrvVer%" construct outside of [Strings] , but don't sure how to join this parts, too. 回答1: im not

Can .inf file reference a built-in driver such that it won't give warning during installation?

核能气质少年 提交于 2019-12-21 21:36:39
问题 Our device relies on a built-in windows driver (usbser.sys). Do we still need to go through WHQL testing or can we install in such a way that the user won't see a warning about not passing Logo testing? I found http://support.microsoft.com/kb/837637 but it's not clear to me if this will do what I want. Does it matter whether I use DPInst program or have my own program that calls DriverPackagePreinstall? [Edit: changed "Our code" to "Our device" based on comment] 回答1: You don't need to sign

Google Android USB Driver and ADB

烈酒焚心 提交于 2019-12-17 02:34:11
问题 I am looking for guidance or a definitive answer on the following. I want to use the Google Android USB Driver and modify the android_winusb.inf to support any number of Android devices. I was able to add an HTC Evo tablet successfully, but when I try to add LG (Optimus) or Samsung (Indulge, Admire) the driver seems to install fine, but ADB does not see it. Can you make the Google Android Driver work for any Android phone? If so... how? I have tried many permutations of %SingleAdbInterface%

How to autorun a .exe file from a usb without using autorun.inf?

浪尽此生 提交于 2019-12-12 03:47:49
问题 I am designing a security utility for USB sticks that when a memory stick has been plugged in,an email is sent to the user with the computer's name and IP address. I have got the email part working, but do not know how to execute the .exe file I have made when the USB is plugged in. I know autorun.inf hasn't worked for a while now, and I would like it to run automatically regardless of the PC it is plugged into. Any suggestions? Thanks. 回答1: I am pretty sure there is no way to store an

Create DefaultInstall section in an inf file

女生的网名这么多〃 提交于 2019-12-12 03:36:41
问题 I have a virtual serial driver. It is installed in Device manager successfully. But if I install it with windows explorer context menu (inf file has "Install" menu in popup context menu), system displays an error as following. The INF file you selected does not support this method of installation. Operation not allowed in WOW64" My system is Windows 8.1 x64 And this driver is built to run on Windows 7 x64 and later. This driver is a virtual serial driver skeleton generated by Visual Studio.

Preinstalling Driver on Windows 8.1 Fails

 ̄綄美尐妖づ 提交于 2019-12-11 22:21:56
问题 We have a few driver packages that we pre-install in the driver store on Windows with SetupCopyOEMInf, following Microsoft's suggested procedures. This process has worked properly for years; no problems on XP, Vista, 7, and even 8. While evaulating Windows 8.1 RTM, we found that our drivers were no longer pre-installing. Checking the setupapi.dev.log, I found: !!! sto: Failed to query boot critical status of device class. Error = 0x00000002 and later: !!! idb: Failed to query inbox status of

How to fix preinstalled driver on Windows 8.1

北慕城南 提交于 2019-12-11 10:34:29
问题 Same situation as described in Preinstalling Driver on Windows 8.1 Fails. But is there a fix how to reinstall the same driver package (no guid change) without reinstalling 8.1? Situation: On a fresh Windows 8.1 installation (no upgrade from 8.0), our USB devices can't be installed. Behavior can be reproduce with a VM: create registry entries with class guid from inf file to show correct USB icon and create own group in device manager: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class

Estimate ratio of two gamma functions when individual functions return inf value

主宰稳场 提交于 2019-12-11 03:49:49
问题 I'm estimating the ratio of two gamma functions. Both estimates for gamma(x) and gamma(y) are very large ( > 10^300) but the ratio of the two should be fairly small. from scipy.special import gamma gamma(x) / gamma(y) Unfortunately, there is a point where gamma(x) is too large and the scipy returns an inf value. Is there a way to stop this, increase the threshold, or alternatively calculate this ratio? Thanks 回答1: Assuming x and y are real and positive you can use the following identity: a /

Installing a driver in NSIS script

痴心易碎 提交于 2019-12-10 18:33:59
问题 I'm trying to create an NSIS installer that installs an inf file. The inf file is extracted from the installer to the correct place, and then I use: nsExec::ExecToLog '"$SYSDIR\PnPutil.exe" /a "$INSTDIR\driver\xser.inf"' However, the command does not seem to get executed at all - the install log doesn't print anything - not success nor failure. I've checked thoroughly the command line and it points to the right PnPutil path. I've also checked that it's being run with administrator privileges