回複:回複:Need help, anyone is familiar with COM?

來源: 0.02$ 2010-12-20 17:27:20 [] [舊帖] [給我悄悄話] 本文已被閱讀: 次 (818 bytes)
回答: 回複:Need help, anyone is familiar with COM?HappyNow?!2010-12-20 16:17:04

Thanks HappyNow for your quick response. I Googled some answers and one of them is pretty close to what I'm asking. But there is no details about that. It sounds like you are a COM expert so maybe you can give me a pointer. Below is the answer:

You can use VARIANTs and SAFEARRAYs of
VARIANTs. Your struct, for example, can be arranged as a SAFEARRAY of
VARIANT"s and if you want an array of structs, then use a SAFEARRAY of
VARIANT SAFEARRAY of VARIANTs.

Regarding the SAFEARRAYS of VARIANT SAFEARRAY of VARIANTs, I kind of understand what it means but hope that could be elaborated a little bit. If you could give me a brief example that will be great. Thanks a lot in advance...



所有跟帖: 

回複:回複:回複:Need help, anyone is familiar with COM? -HappyNow?!- 給 HappyNow?! 發送悄悄話 HappyNow?! 的博客首頁 (1193 bytes) () 12/20/2010 postreply 18:34:47

回複:Need help, anyone is familiar with COM? -0.02$- 給 0.02$ 發送悄悄話 (667 bytes) () 12/20/2010 postreply 19:15:21

good to know...VARIANT -HappyNow?!- 給 HappyNow?! 發送悄悄話 HappyNow?! 的博客首頁 (182 bytes) () 12/20/2010 postreply 19:26:59

回複:good to know...VARIANT -0.02$- 給 0.02$ 發送悄悄話 (271 bytes) () 12/20/2010 postreply 19:43:50

請您先登陸,再發跟帖!

發現Adblock插件

如要繼續瀏覽
請支持本站 請務必在本站關閉/移除任何Adblock

關閉Adblock後 請點擊

請參考如何關閉Adblock/Adblock plus

安裝Adblock plus用戶請點擊瀏覽器圖標
選擇“Disable on www.wenxuecity.com”

安裝Adblock用戶請點擊圖標
選擇“don't run on pages on this domain”