How to create DPInst.exe file?
Is there any simple way to create a DPInst.exe file? I want to create a driver installation with my software setup. I have a driver folder containing:
- Some folders containing .dll file
See also questions close to this topic
how to list all the DLLs ever loaded by a process even those that were loaded and unloaded before I started monitoring the process
I have a requirement to find out all the DLLs that a process ever loaded including those that have been unloaded at the time I monitor it. I know there are many tools for this eg listdlls but they only tell the currently loaded ones - not those that have been unloaded before I started monitoring it.
What I'd like is a comprehensive list of DLLs that have been loaded and unloaded upto the point of monitoring.
Read a file that has a HEX value and convert it to INT64 (c++)
I'm wanting to read a text document that has a hex value (0x1B5A0C41390) and store it as an INT64 or DWORD64 which is 1879597912976. I've tried reading the file and storing it as a string but I'm not sure where to go from there.
Multiple XAudio2 instances needed for AUDIO_STREAM_CATEGORY?
In the newer XAudio2 API's for Windows 8 and 10, an
AUDIO_STREAM_CATEGORYis passed to
The documentation goes on to say how these should be used for different types of audio. However an
IXAudio2is only allowed one master voice. To do this is completely separate
IXAudio2instances along with all associated interfaces required, or can categories be specified elsewhere in the audio graph by some means?
Games should categorize their music streams as AudioCategory_GameMedia so that game music mutes automatically if another application plays music in the background. Music or video applications should categorize their streams as AudioCategory_Media or AudioCategory_Movie so they will take priority over AudioCategory_GameMedia streams. Game audio for in-game cinematics or cutscenes, when the audio is premixed or for creative reasons should take priority over background audio, should also be categorized as Media or Movie.
Spark/ Yarn: disable off-heap on the driver
There is this configuration :
spark.yarn.driver.memoryOverhead The amount of off-heap memory (in megabytes) to be allocated per driver in cluster mode. This is memory that accounts for things like VM overheads, interned strings, other native overheads, etc. This tends to grow with the container size (typically 6-10%).
For tests purpose I'd like, I'd like to disable off-heap on the driver, like
spark.memory.offHeap.enabled If true, Spark will attempt to use off-heap memory for certain operations. If off-heap memory use is enabled, then spark.memory.offHeap.size must be positive.
but for the driver.
Is there anything like this? Thx
Microsoft basic display adapter not loading
I get the following error in device manager:
This device is not working properly because Windows cannot load the drivers required for this device. (Code 31) The driver trying to start is not the same as the driver for the POSTed display adapter.
I'm confused as I have a NVIDIA GeForce GTX 660 running two monitors. The monitors seem to work fine. Why is the Microsoft basic display adapter being loaded in the first place (what's using it?) and how do I get it to work?
Is there a better forum to post this question on?
How does the kernel know about the specifics of a driver?
This may be a simple or silly question, but I cannot seem to grasp it. I know that a driver is there for the kernel or a program to interact with a device without knowing about it's specifics, but how does the kernel know what IO and or interrupts do what in the driver? I mean a user end app would probably know but how would the kernel know about the driver's specifics?