I was wondering if it is possible to create a VB user interface, where the buttons tie in with C functions. Is it possible to save the C file as a .DLL and use it?
Printable View
I was wondering if it is possible to create a VB user interface, where the buttons tie in with C functions. Is it possible to save the C file as a .DLL and use it?
yes, you can call C functions that reside in a dll from a VB eventhandler that is triggered upon a button click.
You need to use the Declare statement to make the C function known to your VB project.