On Sat, Feb 13, 2010, Tim Golden wrote:
> On 12/02/2010 16:58, Chris Jesse wrote:
>> 
>> There's an interesting document attached which shows some potential
>> C++ code; but I'm in a little out of my depth here - "help"!
>
> About half of that is basically the code I posted here:
>
> http://local.timgolden.me.uk/python/win32_how_do_i/detect-device-insertion.html
>
> The other half deals with the case where you want to use this sort
> of technique but where you're in a service or otherwise don't have a
> top-level window. If the WMI stuff doesn't work for you and you need
> this kind of thing (and don't have/want a top-level window) then we
> can try to run something up on the basis of the article.

That's definitely true for my company (running as a service), so if it's
not too much trouble for you, we'd definitely appreciate it.
-- 
Aahz (a...@pythoncraft.com)           <*>         http://www.pythoncraft.com/

"At Resolver we've found it useful to short-circuit any doubt and just        
refer to comments in code as 'lies'. :-)"
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to