-
Convert C to Class
I have a C++ DLL with conventional C procedures and functions to be called by VB program and the routines are working properly. Now I need to provide Progress Bar at the status window of VB main program and display AVI (both to be done by C program for performance reason) during the procedure execution.
I wonder if there is any alternatives other than convert my procedures and functions to class structure. If none, what is the easiest steps?
Thank you.
-
Why would you want to convert them to classes?
-
Because I want to display progress bar and show AVI during execution of the C procedure.
Thank you.
-
What's that got to do with classes?
-
I have got a ProgressBar class and AVI class that can perform my desired functions and I wish to make use of these two classes but I don't know how.
Thank you.
-
Declare the normal procedures as
extern "C"
and let them use the classes.