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. vc++ XLAutomation error

vc++ XLAutomation error

Scheduled Pinned Locked Moved C / C++ / MFC
c++data-structuresdebuggingperformancehelp
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.
  • R Offline
    R Offline
    rolfhorror
    wrote on last edited by
    #1

    i'm writing an app with the XLAutomation class included into it, the app builds fine, but when i run it sometimes it seems i can't access Excel (read/write) and then i get this error message: From the XLAut.. class: "ReleaseVariant: unknown type" and "ReleaseVariant: Array contains non-variant type" and when i debug the error further: "Unhandled exception in "MyApp" (OLEAUT32.DLL): 0xC0000005: Access Violation" And it wont go away even if i close the app and restart it, seems theres something in the memory. somebody know what this means? any solutions? thanks

    S 1 Reply Last reply
    0
    • R rolfhorror

      i'm writing an app with the XLAutomation class included into it, the app builds fine, but when i run it sometimes it seems i can't access Excel (read/write) and then i get this error message: From the XLAut.. class: "ReleaseVariant: unknown type" and "ReleaseVariant: Array contains non-variant type" and when i debug the error further: "Unhandled exception in "MyApp" (OLEAUT32.DLL): 0xC0000005: Access Violation" And it wont go away even if i close the app and restart it, seems theres something in the memory. somebody know what this means? any solutions? thanks

      S Offline
      S Offline
      Stephen Hewitt
      wrote on last edited by
      #2

      More information would be helpful. Can you show a call stack when the exception is generated and the source code around the line in that triggered it?

      Steve

      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