CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 1999
    Location
    Czech republic
    Posts
    24

    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


  2. #2
    Guest

    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.


  3. #3
    Join Date
    Oct 1999
    Location
    Czech republic
    Posts
    24

    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
  •  





Click Here to Expand Forum to Full Width

Featured