Click to See Complete Forum and Search --> : Tying in C functions


Markmcdade
December 1st, 1999, 06:26 AM
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?

Lothar Haensler
December 1st, 1999, 07:38 AM
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.