|
76
|
Main Area and Open Discussion / General Software Discussion / Re: what does uninstall really mean?
|
on: November 24, 2007, 08:22:20 AM
|
|
first and foremost it means what the programmer who wrote the installer meant and made it to be
now, when it comes to drivers, this is another story. usually your driver is a combo of .inf and .sys (once you get rid of all the installer usability candy) windows puts the .inf somewhere in \WINNT\ (or \WINDOWS\, depending on your windows version) and the .sys into \WINNT\system32\drivers\ besides those windows tends to hold old versions of the driver under different file names in other places (yes, it's kinda vague like that)
what your windows device manager does on top of that, is report the version number it finds in the .inf file (just a text file) and not necessarily the version number of the driver itself (right click on the .sys file, properties, version-tab)
now just imagine this scenario i found myself in at work just recently: we're using a 3rd party USB device with a specialized driver and firmware made for us by said 3rd party. as it always goes, it's not perfect, so there will be new driver versions.
windows is also kinda stupid when it comes to plugging the same usb device into different usb ports (yes, even if the usb-serial is properly implemented in the device). so windows thinks (even so it's the same device) that each time you use a different port, it's a different device. each time installing or requesting the driver.
you can 'update driver' from the device manager. ok. does not always work. i even went so far as to delete the .sys file from \winnt\system32\drivers\ only to find a very old version of the driver suddenly appearing out of thin air the next time i plugged the device in.
here's the (kind of work intensive but successful) way to get rid of a driver: - plug device in - right-click / properties on the device @ device manager - remove driver (or uninstall, not sure what's it called) - unplugg device - delete .sys file for the driver from \winnt\system32\drivers\ (and if you can find them, all .inf files) - restart pc - plug in device - install new driver when asked
|
|
|
|
|
80
|
DonationCoder.com Software / Post New Requests Here / IDEA: launch application upon focusing a GUI element
|
on: October 23, 2007, 07:44:23 AM
|
ok, this might sound a bit confusing, let me elaborate. mouser suggested i post it in here (original: http://www.donationcoder....m/index.php?topic=10517.0) environment: - windows XP / 2000
- touch-screen display (for windows this is just a simple mouse)
- 2 applications (A and OSK)
A: random application with GUI OSK: on-screen-keyboard
the idea: - monitor A's GUI
- launch/unhide OSK as soon as focus is given to an edit control (usually needs keyboard input)
- if edit control looses focus (or OSK has no more GUI-clicking going on, aka timeout) close/hide OSK
candy: - make this work global for all running apps
- make it only work for a list of applications
- make types of controls that trigger the OSK configurable
- support for arbitrary OSK apps (windows' own, 3rd party)
alternative: is there any OSK app out there that already does it? i couldn't find any.
|
|
|
|
|
88
|
Main Area and Open Discussion / Living Room / Re: UK Government wants your crypto keys... by law.
|
on: October 02, 2007, 02:34:50 AM
|
The Electronic Commerce Bill would make it a crime to fail to give up the decryption key to a message if a policeman thinks you've got it. If you haven't got it, it is up to you to prove you haven't. If you can't prove it, you would be liable for 2 years in jail. OUCH! Innocent until proven guilty? Yikes! Exactly.. that's what the German government is working towards too... They also keep using new words to make stuff sound better, sounds like newspeak, i'm not kidding...
|
|
|
|
|
89
|
Main Area and Open Discussion / Living Room / UK Government wants your crypto keys... by law.
|
on: October 01, 2007, 01:42:20 PM
|
In a few hours time Part III of the Regulation of Investigatory Powers Act 2000 will come into effect. The commencement order means that as of October 1st a section 49 notice can be served which requires that encrypted data be “put into an intelligible form” (what you and I might call “decrypted”). [...] http://www.lightbluetouchpaper.org/2007/09/30/time-to-forget/holy fucking crap what the hell?! mouser, we need a smile-face that does the hitler salute, seriously... there's just no way to describe how idiotic, nazi, 1984, [more adjectives here] this is... i'm shocked (and yes, this comes from someone in who's country possession of hacker tools is illegal)
|
|
|
|
|
93
|
Other Software / Developer's Corner / Leak-testing / Memory Profiling Question: What tools can you recommended?
|
on: October 01, 2007, 03:50:41 AM
|
Hey there fellow DC'ers I'm sitting at work here right now, having to deal with a _very_ nasty problem that totally smashes my system's heap, slowly, very slowly... (to the point of no return other than rebooting) The application is an especially nasty accumulation of C/C++/Managed C++/C# code. So it got everything, from malloc to new to gcnew.. garbage collected items, and items that need manual disposal. Everything split up in half a ton of DLL files. I already found this thread here and was wondering if any of you could recommend any other tools (preferably free software, but if it's payware, whatever, as long as it does the job) to do leak testing, memory profiling. linux-based valgrind is pretty awesome for this, but well, linux. i'd need something similar for win2k and xp. i know leaks are a very common problem to any non-trivial program, so i assume most of you have already had to deal with this problem. please share your knowledge 
|
|
|
|
|
95
|
Main Area and Open Discussion / Living Room / (Webfind) CS Jokes - Collection of Computer Science Jokes
|
on: September 30, 2007, 09:31:44 AM
|
thought I'd share my latest find since it wasn't already posted here ;-) Enjoy. Two strings walk into a bar and sit down. The bartender says, "So what'll it be?" The first string says, "I think I'll have a beer quag fulk boorg jdk^CjfdLk jk3s d#f67howe%^U r89nvy~~owmc63^Dz x.xvcu" "Please excuse my friend," the second string says, "He isn't null-terminated."
|
|
|
|
|
97
|
Main Area and Open Discussion / Living Room / Re: Whats on your desktop?
|
on: September 29, 2007, 12:19:37 PM
|
I dont like how dialogs that pop up centered are split between the displays, anyone know how to fix that?
Hey if You find a way to fix that, let me know, I would like to know. works fine for me on linux ;-) it's called 'hinting' and also takes care of windows you resize to full-screen only are full-screen on one of the displays for me it's done using xinerama (X.Org builtin), as to how windows does it, no clue. ;-)
|
|
|
|
|