M
Michael Brown
Hey there, it's been a long time since I've done alot in C++ (pre windows
stuff).. so I've got this lib that I've written a wrapper for so I can work
with it in C#.. I created the wrapper as an ATL Project in C++, and
everything is cool... except that when I create more than one instance of
the object in C#, the old references seem to dissappear/are overwritten by
the last created instance of the object.
The ATL Project uses Apartment Threading, so this shouldn't be happening
right? I should be able to create as many instances of my "wrapper", and
inside the wrapper new objects are created.. is ATL to blame here? (did I
explain it right?)
Thanks!
-Mike
stuff).. so I've got this lib that I've written a wrapper for so I can work
with it in C#.. I created the wrapper as an ATL Project in C++, and
everything is cool... except that when I create more than one instance of
the object in C#, the old references seem to dissappear/are overwritten by
the last created instance of the object.
The ATL Project uses Apartment Threading, so this shouldn't be happening
right? I should be able to create as many instances of my "wrapper", and
inside the wrapper new objects are created.. is ATL to blame here? (did I
explain it right?)
Thanks!
-Mike