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