C
Creativ
A COM component has an method, called Register(Variant variant), which
expect an array of string via Variant. If I want to use it, I can pass
an object[] whose element boxes a string.
The UnregisterAllItems method of the component remove all registered
items.
Most of the time, UnregisterAllItems works fine but sometime
UnregisterAllItems returns an AccessViolationException.
Any idea why it goes wrong?
expect an array of string via Variant. If I want to use it, I can pass
an object[] whose element boxes a string.
The UnregisterAllItems method of the component remove all registered
items.
Most of the time, UnregisterAllItems works fine but sometime
UnregisterAllItems returns an AccessViolationException.
Any idea why it goes wrong?