c++ - COM Automation structures vs wrappers for them -


i developing com wrapper windows apis, can used scripting languages don't have native windows api support. thinking should use in com atl projects. safearray or ccomsafearray? variant or ccomvariant? or other structure or appropriate wrapper it?

i tested using both types, no special performance differences, usage problems or additional implementations found between them.

which 1 best used in com atl projects? example, safearray or ccomsafearray?

the interfaces , coclasses must use safearray , variant. can't have com interface or object uses ccomsafearray or ccomvariant in of com-public method signatures or properties. can use ccomsafearray or ccomvariant inside coclass implementations, however.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -