Re: best way to launch a UI or process from a device driver ?



If the driver decides that the next boot will be the time to inform the user, then the driver can add a value to the "Run" registry key. That will execute a startup app, but only when it's really the right time to execute it.


"Hao Zhuang" <HaoZhuang@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:8C6ED627-B055-4475-A855-228A52554576@xxxxxxxxxxxxxxxx
hello group,

i wonder what's the best way to launch a UI or process from a device driver
? we have a trial version of an intermediate driver to give away to the
customers. we wish to display a UI reminding them of the trial period
expirations.

i understand one sure way to do that is to write a service or a startup app
that monitors the device via IOCTL or similar. but that is kind of waste to
launch a process to slow down the system boot up and occupy extra swap which
most of its life time does nothing.

so i wonder if there are any other (better) ways ? such as WMI or something
like that ? i havent dug deep yet but think vista's TaskScheduler might be a
nice one. but i also need to know about XP.

thanks !

- hao

.



Relevant Pages

  • Re: soundcard SoundBlaster PCI128 or SoundBlaster live1024 problem
    ... > What messages are you getting from boot log and dmesg? ... ACPI tables contain no PCI IRQ routing entries ... RAMDISK driver initialized: 16 RAM disks of 64000K size 1024 blocksize ... USB Universal Host Controller Interface driver v2.2 ...
    (comp.os.linux.hardware)
  • Re: Boot up problem... with a difference
    ... Safe mode boot is fine. ... Looked further into the last errors and noticed PXRD Driver. ... Event Type: Error ... Windows cannot unload your classes registry file - it is still in ...
    (microsoft.public.windowsxp.help_and_support)
  • Welcome screen-black-reboot
    ... Boot Boot Bus Extender 1 ACPI Microsoft ACPI Driver ... Boot System Bus Extender 6 Compbatt Microsoft Composite Battery Driver ... Boot FSFilter System Recovery 4 sr System Restore Filter Driver ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: Boot up problem... with a difference
    ... The list of unsigned driver provided this list of programmes: ... What Windows XP CD do you have? ... Safe mode boot is fine. ... Event Type: Error ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: CONFIG_K8_NUMA x86_64 no-memory node bug
    ... >>> kernel will no longer boot. ... ACPI: Local APIC address 0xfee00000 ... Generic PHY: Registered new driver ... program scsi_unique_id is using a deprecated SCSI ioctl, ...
    (Linux-Kernel)