|
-
Mar 1st, 2003, 04:51 AM
#1
Thread Starter
Lively Member
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.
-
Mar 1st, 2003, 07:21 AM
#2
Why would you want to convert them to classes?
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Mar 2nd, 2003, 05:30 AM
#3
Thread Starter
Lively Member
Because I want to display progress bar and show AVI during execution of the C procedure.
Thank you.
-
Mar 2nd, 2003, 05:47 AM
#4
What's that got to do with classes?
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Mar 2nd, 2003, 06:14 AM
#5
Thread Starter
Lively Member
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.
-
Mar 2nd, 2003, 07:38 AM
#6
Declare the normal procedures as
extern "C"
and let them use the classes.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|