Having trouble with old code written in vb 6 or (gasp)earlier. The problem is that the return objects are of type "Object".
When ever I try to cast the "Object" to a new type, I get the fact that either the type is not registered or one of a variety of other messages.
If I try to create an the target object in C# first, the object creates, but then the call to the DLL to create the object says that It cannot do an implicit cast to the object type e.g. Cannont implicity cast type 'Object' to type 'X'.
Any help would be great.
Thanks
When ever I try to cast the "Object" to a new type, I get the fact that either the type is not registered or one of a variety of other messages.
If I try to create an the target object in C# first, the object creates, but then the call to the DLL to create the object says that It cannot do an implicit cast to the object type e.g. Cannont implicity cast type 'Object' to type 'X'.
Any help would be great.
Thanks