> 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 passing it > regular old arrays, no success.
The way I've solved similar problems in the past is to do one of the following: 1. Rewrite the DLL to accept strings for all arguments. Yecch. 2. Write a COM "wrapper" that accepts strings, and invoke the COM DLL from within your wrapper. Also, yecch. However, this is pretty easy to do, and you can do it with Windows Script Host, so you don't even need a compiler. You would write a WSH object with a COM interface, and invoke that from CF. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289912 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

