RE: passing arrays to COM objects by ref - dll

2007-10-02 Thread Dave Watts
I've been provided a .dll with a number of procedures written in VB5. The function I'm trying to access requires three inputs as arrays, the last one being an empty array (with a length) for it to store the results and return. The function requires all of the arrays by ref. I tried just

Re: passing arrays to COM objects by ref - dll

2007-10-02 Thread P McKinnon
I've been provided a .dll with a number of procedures written in VB5. The function I'm trying to access requires three inputs as arrays, the last one being an empty array (with a length) for it to store the results and return. The function requires all of the arrays by ref. I tried just

RE: passing arrays to COM objects by ref - dll

2007-10-02 Thread Dave Watts
Hi Dave, thanks for the suggestions. I'll have to go the 'wrapper' route since I can't access the guts of the .dll, it's from an agency that is nutsy-cookoo about protecting the code. Do you have any suggestions for resources on creating wrappers? Not offhand. I'd just Google Windows