• C

Convert C header declarations to VB module declarations

I am looking for anyone who has sufficient knowlege of both C and VB to take a C header file with DLL calling declarations in it and convert it to a VB module with the same declarations to allow calling the DLL functions.
I can provide the C sample calling code and header file.
Please contact me on phil@watin.com.au if you are interested and I will send the C files.
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.

It would be very easy to wrap the your c functions in com using the ATL Object Wizard, and call your C functions from VB using

Set objAny = CreateObject("C.Func.1")
objAny.CFunc1(parm1, parm2, parm3)

This would be the most effiect way in my eyes.

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
watinAuthor Commented:
However I would need a C compiler which I don't have and don't have time to learn how to use.
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

From novice to tech pro — start learning today.