What is the C++/CLI equivalent to a VB6 Collection? -
i tried arraylist^ , vb6 gives me 'type mismatch' error. don't see c++/cli 'collection' or 'list'.
so equivalent, if there one?
yeah, doesn't work, vb6 wants own collection class. i'm shocked how turned out. thought, easy peasy, add reference c:\windows\system32\msvbvm60.dll , use interop library generates. then:
vba::collection^ coll = gcnew vba::collection();
kaboom:
retrieving com class factory component clsid {a4c4671c-499f-101b-bb78-00aa00383cbb} failed due following error: 80040154.
class not registered. looked in registry, it's there under hklm\clsid inprocserver32 key blank. blank. that's not good. changed point point msvbvm60.dll. kaboom, 0x80040111, "classfactory cannot supply requested class".
this isn't going fly. abandon hope way see it, unless can refactor vb6 code.
Comments
Post a Comment