|
-
Mar 9th, 2003, 10:18 AM
#1
Thread Starter
Lively Member
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.
-
Mar 9th, 2003, 01:23 PM
#2
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.
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 10th, 2003, 01:00 AM
#3
Thread Starter
Lively Member
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
-
Mar 10th, 2003, 12:07 PM
#4
Sure. Use pure WinAPI for the progress bar. Learn about common controls, the progress control is one of them.
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 11th, 2003, 07:48 AM
#5
Thread Starter
Lively Member
Thanks for your advice.
Wonder if there is any sample program to learn from?
Thank you.
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
|