variant
Mapping COM VARIANT Types to actual types using a map
I am writing a COM wrapper for a COM object that sends different types of values from a client and want to map these types in a Map to their actual C++ type, suc开发者_StackOverflow中文版h as VT_BSTR[详细]
2023-01-13 20:13 分类:问答How to handle Variant Missing
I\'m new in C# world. I have a COM server written in C++ and in some situation it returns a variant_t::missing().[详细]
2023-01-11 23:17 分类:问答Null check on a COleVariant
Is 开发者_高级运维it possible to do a null check on a COleVariant or at the very least check if it\'s type is set to VT_NULL? I see that there is a ChangeType() method but was hoping I could somehow f[详细]
2023-01-08 23:18 分类:问答Delphi, olevariants and arrays of strings
i开发者_StackOverflow have an ole Object created with (simple verion) obj := CreateOleObject(\'foo.bar\');[详细]
2023-01-08 22:56 分类:问答VariantClear() throws an exception when called on A VARIANT containing a SAFEARRAY
I am trying to wrap up some data from an array of BYTES into a VARIANT but I can\'t seem to free the data:[详细]
2023-01-07 21:29 分类:问答Iterator for boost::variant
Hy there, I\'m trying to adapt an existing code to boost::va开发者_运维百科riant. The idea is to use boost::variant for a heterogeneous vector. The problem is that the rest of the code use iterators[详细]
2023-01-03 06:32 分类:问答Calling Matlab's MLApp.MLAppClass.FEval from F#
Matlab provides a COM interface that supports remote execution of arbitrary functions (and code snippets). In particular, it has an Feval method that calls a given Matlab function. The third parameter[详细]
2022-12-29 22:55 分类:问答Casting between variant and bstr_t causing inconsisten crash in Windows 2008
We have a C# application, calling a simple C++ wrapper class, that then calls an existing C++ DLL.The C++ code is all VC++ 6.0.[详细]
2022-12-29 03:45 分类:问答Cast object as OleVariant in Delphi
Is there a way to pass a wrap and unwrap a TObject descen开发者_如何学Pythondent in an OleVariant?I am trying to pass a TObject across automation objects.I know it\'s not a good idea but I don\'t have[详细]
2022-12-29 00:06 分类:问答拉娜杰德是艺名吗 她一直以来都为什么不红呢?
看到拉娜杰德这几个字,可能很多人想到的会是一个车的牌子,其实这是一个艺人的名字,很多人都好奇拉娜杰德是不是艺名,还有人问拉娜杰德是艺名吗?什么她一直以来都不是很红呢?现在我们就来了解一下吧。[详细]
2022-12-28 15:54 分类:问答