-
CProgressCtrl
I have developed a Microsoft C 6.0 Win 32 DLL without class definition. The DLL is to be called by VB program under Win 98. The DLL has shared segment with system hook implementation.
Can I call CProgressCtrl class in my DLL? If yes, what steps shall I take? If no, is there any alternative for displaying progress?
Thanks.
-
You can't use a real C++ class from VB. Either you write a function-based interface to the class or you write an ActiveX control.
-
This is exactly my target approach.
The VB program calls a function implemented in the C DLL which takes a long execution time. My professor ask me to display progress during execution but my function is a pure C without class and my program is a Win 32 DLL.
Is there any solution?
Thanks a lot
-
Sure. Use pure WinAPI for the progress bar. Learn about common controls, the progress control is one of them.
-
Thanks for your advice.
Wonder if there is any sample program to learn from?
Thank you.