1. EuCOM stackoverflow question

Forked from Forum login issues

irritated said...

Dang, I didn't notice that. I put in an answer:

StackOverflow said...

You should use the create_safearray() function. It's documented (hidden?) under Utilities. Basically, put your BSTR pointers into a sequence and pass it to create_safearray():

sequence s, bstrs 
s = {"A", "B"} 
bstrs = {} 
for i = 1 to length(s) do 
    bstrs &= alloc_bstr( s[i] ) 
end for 
 
atom array 
array = create_safearray( bstrs, VT_BSTR ) 
 
... 
 
destroy_safearray( array ) 

Matt

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu