|
-
February 7th, 2000, 06:31 AM
#1
Unusable ocx, dll created with VB
My colleague created a ocx and dll with Visual Basic 6. He used some Events too.
If I add OCX: Project -> Add to project -> Components and controls -> ActiveX,
VisualC studio create a class with methods and properties, but it does not imports the events.
If I add DLL: View -> Class wizard -> Add class -> From a type library,
VisualC studio create a class with methods and properties, but it does not imports the events.
Events do not have complicate list of types. (e.g. Sub Progress())
What is the problem? Please.
Thank you
Zdenek
-
February 7th, 2000, 11:12 AM
#2
Re: Unusable ocx, dll created with VB
Have you looked in the class wizard? They may not be mentioned in the .c, .cpp and .h files until you include them there. Just MS'es oddities.
-
February 7th, 2000, 12:25 PM
#3
Re: Unusable ocx, dll created with VB
Thank you. I can see events of a OCX now. But DLL do not work properly still. E.g:
// Operations
public:
// method 'Progress' not emitted because of invalid return type or parameter type
// method 'CopyFile' not emitted because of invalid return type or parameter type
// method 'CopyDone' not emitted because of invalid return type or parameter type
// method 'SendError' not emitted because of invalid return type or parameter type
// method 'DeleteDone' not emitted because of invalid return type or parameter type
But my dll have not wrong parametres and types :-(
Zdenek
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
|