How to invoke a COM interface property
Hi,
I'm trying to manipulate a COM Interface object through NSIS, but ran into a snag. I can instantiate my COM object through CoCreateInstance, and can invoke some of its methods, but one I must use is defined such:
[id(0x0000001e), propget, helpstring("gets the key")]
HRESULT publicKey([out, retval] BSTR* pubKey);
[id(0x0000001e), propput, helpstring("sets the key")]
HRESULT publicKey([in] BSTR pubKey);
Note that they both have the same id, but I need to use the setter, and when I do this:
System::Call '$R1->30(w "someChars")'
There is no failure but the subsequent displayed window is all screwed up (missing text, white areas, etc). If I comment out that call all is OK.
How can I invoke the correct interface method?
Thanks,
Norm