Passing IDispatch pointer to C++
-
How can I pass an IDispatch pointer into C++? My C++ method is expecting a of smart pointers (std::vector> ) to C++ objects. Since I am using a VB front-end, I pass a set of IDispatch pointers to ATL via the variant type. Now, I am stuck with a set of IDispatch pointers to the objects and I don't know how to pass them into C++. Any ideas? thanks, -shamus
-
How can I pass an IDispatch pointer into C++? My C++ method is expecting a of smart pointers (std::vector> ) to C++ objects. Since I am using a VB front-end, I pass a set of IDispatch pointers to ATL via the variant type. Now, I am stuck with a set of IDispatch pointers to the objects and I don't know how to pass them into C++. Any ideas? thanks, -shamus
-
How can I pass an IDispatch pointer into C++? My C++ method is expecting a of smart pointers (std::vector> ) to C++ objects. Since I am using a VB front-end, I pass a set of IDispatch pointers to ATL via the variant type. Now, I am stuck with a set of IDispatch pointers to the objects and I don't know how to pass them into C++. Any ideas? thanks, -shamus
You can use IDispatch* ,LPDISPATCH or IDispatchPtr (smart pointer created from import) to pass IDispatch pointers to your C++ methods. Kindest regards Holger Persch
-
You can use IDispatch* ,LPDISPATCH or IDispatchPtr (smart pointer created from import) to pass IDispatch pointers to your C++ methods. Kindest regards Holger Persch