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.

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist