Access a none COM dll with VBA

Hi, our users would like to access a .NET none COM DLL with VBA. What is the best way for us to proceed? We do not have access to the DLL so it can not be recompiled.
LVL 29
leonstrykerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

leonstrykerAuthor Commented:
For that to work the DLL has to be COM compliant. I have actually created a wrapper DLL just so, but have issues passing through arrays. I will be trying the methods suggested here

http://stackoverflow.com/questions/70501/exposing-nested-arrays-to-com-from-net

any other suggestions are welcome.

Leon
0
leonstrykerAuthor Commented:
So, the solution appears to be to convert Array of Arrays (
object[][]

Open in new window

) into Multidimensional Arrays (
object[ , ]

Open in new window

). This is a pain, especially in the situations where a function is expecting a an Array or Arrays as an input.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
leonstrykerAuthor Commented:
Provided solution to my own question
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.