|
I think your file is corrupted... the os is windows 10 ?
|
|
|
|
|
Windows 10 is the corruption... 
|
|
|
|
|
good morning I'm considering creating a Universal app windows 10 limited to the classic desktop and mobile app CRUD but I wanted to make sure that both devices were using the same database, I wanted to ask if you can change the connection string and indicate a specific directory in the local network. I wanted to avoid making a WebAPI REST.
This is the path to change:
path = Path.Combine(Windows.Storage.ApplicationData.Current.LocalFolder.Path, "db.sqlite");
Thanks in advance for your help
|
|
|
|
|
Anyone know how to permanently disable a hardware device in Windows 10?
Soundcard.
I disabled it. I uninstalled the drivers.
On next reboot, there it was, back again.
I multi-boot and other OSes need the card, so I can't just take it out.
They need to put the hardware profiles things back in the OS. Grrrr.
modified 5-Sep-15 10:13am.
|
|
|
|
|
Relax, in case you like to disable the hardware, don't power on your pc/Laptop.
Grrr. All I expirienced with W10 was really ok. No paranoya on this end
modified 19-Jan-21 21:04pm.
|
|
|
|
|
Windows 10 is a magician, it be like, "Ta-da!".
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
Did you try to leave the drivers installed? Or disable automatic driver updates from Windows Update? BTW what's the reason for disabling it (just curious because you said you need it for other OSs, so obviously it's not a hardware issue I guess)?
|
|
|
|
|
Despite it working with EVERY other program on the computer, if I leave it there and try to run Cakewalk Sonar, the OS goes into never-never land and I get a DPC_WATCHDOG_EXCEPTION.
Even if I'm not using the sound card with Sonar. Just being there kills it.
I'l try the no automatic updates thing, but I think it's more of a found-new-hardware thing.
|
|
|
|
|
What kind of sound card is it? There may be updated drivers available from the manufacturer that aren't available through Windows Update. I just updated my laptop's graphics and audio drivers using an updater provided with the system when I bought it (the notices are non-intrusive, a simple notification in the lower right hand corner that vanishes after a few seconds.)
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
|
|
|
|
|
It's an old SoundBlaster X-Fi.
Just noticed they have FINALLY made a Win10 driver. I'll see if it works with Sonar.
|
|
|
|
|
Well, did it work?
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
|
|
|
|
|
Yes...but I changed over to using sfx in Sonar, rather than loading the SoundFonts into the card itself.
|
|
|
|
|
I think that if you uninstall a driver, it is essentially completly removed including information about being disabled and thus it would get reinstalled next time if the driver still exist (which is probably often the case).
So to prevent it from being reinstalled, you have to leave it disabled (and not uninstall it).
Philippe Mori
|
|
|
|
|
Remove the files that are associated with the driver package from the driver store and Delete the binary files of the driver package.
|
|
|
|
|
You can install a 'null inf' file on the device. It ties up the vid/pid to no service which makes the PnP system think it is installed.
|
|
|
|
|
Consider the following two programs. One is the console application with this code:
int main()
{
char *p = new char[100];
return 0;
}
I run this program in Debug configuration and break on return 0 line. I the Watch window I see p variable value. The second program:
HANDLE hProcess = OpenProcess( PROCESS_VM_READ, FALSE ,
processId );
if ( hProcess == NULL ) return;
char p[100];
if (!ReadProcessMemory(hProcess,
address, p, 100,
&NumberOfBytesRead))
{
}
ReadProcessMemory is successful both in 32 and 64 bit (both program are compiled in Win32 or x64 configuration). Environment: Windows 7 64 bit, Visual Studio 2010. It also works in previous Windows versions.
Now I try the same in Windows 10 64 bit. Both programs in 32 bit - OK. 64 bit: ReadProcessMemory returns FALSE with last error 299: Only part of a ReadProcessMemory request was completed.
I tried:
1. To replace PROCESS_VM_READ with PROCESS_ALL_ACCESS
2. To run the second program as administrator
3. To use different Visual Studio versions (2010, 2015).
Still doesn't help. ReadProcessMemory fails in Windows 10 for 64 bit processes.
Edit: I tried to write this code from scratch, and it is working. So, the problem is somewhere in the original project, I don't know the solution yet, but API is working.
modified 25-Aug-15 6:24am.
|
|
|
|
|
|
Thanks, the post fixed. Real program contains the buffer parameter, of course.
|
|
|
|
|
Member 11917640 wrote: Real program contains ... Then use copy and paste, so we can see exactly what your code is doing.
|
|
|
|
|
Thanks, this really helps.
|
|
|
|
|
What data type is the address variable?
What does the NumberOfBytesRead show after the call?
The difficult we do right away...
...the impossible takes slightly longer.
modified 24-Aug-15 13:28pm.
|
|
|
|
|
|
Thank you for the help, this code is working when rewritten from scratch, so the problem is somewhere else in the original project.
|
|
|
|
|
address,
Should that not be the contents of p , i.e. whatever variable p is pointing to?
|
|
|
|
|
Thank you for the help, this code is working when rewritten from scratch, so the problem is somewhere else in the original project.
|
|
|
|