Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. XP AutoPlay Error

XP AutoPlay Error

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestionwindows-adminlinuxdebugging
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    alto
    wrote on last edited by
    #1

    Hello, I wrote applications that suppose to open automatically by the auto play mechanism of the WinXP, I entered the correct values to the registry and the application start ok. The problem I have is that I get a message box with error every time: 'E:\ The device is not ready' Any ideas what is the problem? The Registry settings: -------------------------------------------------------------------- [HKEY_CLASSES_ROOT\MyApplication] @="ImageDownload" [HKEY_CLASSES_ROOT\MyApplication\shell] [HKEY_CLASSES_ROOT\MyApplication\shell\open] [HKEY_CLASSES_ROOT\MyApplication\shell\open\command] @="C:\\Work\\Private\\MyApplication\\Debug\\MyApplication.exe \"%1\"" [HKEY_CLASSES_ROOT\MyApplication\shell\open\ddeexec] @="[open(\"%1\")]" -------------------------------------------------------------------- [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\Handlers\MyApplication] "Action"="MyApplication" "DefaultIcon"="C:\\Work\\Private\\MyApplication\\Debug\\MyApplication.exe,0" "InvokeProgID"="MyApplication" "InvokeVerb"="open" "Provider"="MyApplication" -------------------------------------------------------------------- [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\EventHandlers\ShowPicturesOnArrival] "MyApplication"="" --------------------------------------------------------------------

    S 1 Reply Last reply
    0
    • A alto

      Hello, I wrote applications that suppose to open automatically by the auto play mechanism of the WinXP, I entered the correct values to the registry and the application start ok. The problem I have is that I get a message box with error every time: 'E:\ The device is not ready' Any ideas what is the problem? The Registry settings: -------------------------------------------------------------------- [HKEY_CLASSES_ROOT\MyApplication] @="ImageDownload" [HKEY_CLASSES_ROOT\MyApplication\shell] [HKEY_CLASSES_ROOT\MyApplication\shell\open] [HKEY_CLASSES_ROOT\MyApplication\shell\open\command] @="C:\\Work\\Private\\MyApplication\\Debug\\MyApplication.exe \"%1\"" [HKEY_CLASSES_ROOT\MyApplication\shell\open\ddeexec] @="[open(\"%1\")]" -------------------------------------------------------------------- [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\Handlers\MyApplication] "Action"="MyApplication" "DefaultIcon"="C:\\Work\\Private\\MyApplication\\Debug\\MyApplication.exe,0" "InvokeProgID"="MyApplication" "InvokeVerb"="open" "Provider"="MyApplication" -------------------------------------------------------------------- [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\EventHandlers\ShowPicturesOnArrival] "MyApplication"="" --------------------------------------------------------------------

      S Offline
      S Offline
      Sathie
      wrote on last edited by
      #2

      Hi, I am sorry, I do not have the answer to your question but another one with which you can help, I guess. I just entered all the correct values into the registry, but my application does NOT start. Is there anything I have to do from within the application? I verified my entries by starting another application, which works fine. But my own does not start at all. Any ideas? Thanks, Sathie

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups