devxlogo

Combining VB with C

Combining VB with C

Question:
Can I write a module in Ansi C language and compile it together with a VB program? If cannot, how can I combine these two modules?

Answer:
You can’t compile them directly; however, you can build a DLL out of your C module and access it from Visual Basic. Refer to your C compiler manual for information on using DLLs.

devx-admin

Share the Post: