CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Calling DLLs

  1. #1
    Guest

    Calling DLLs

    I am wondering if it is even possible to call VB6 ActiveX.DLLs and use them in VC6? If there is how is this accomplished on the VC side and is there something special that needs to be done on the VB side for this to work properly.


  2. #2
    Join Date
    May 1999
    Posts
    19

    Re: Calling DLLs

    I think the easiest way is using the automation. From the .tlb file of DLL generate a wrapper class in VC++ using class wizard/new class. Then use it just like you do with any other class.

    [email protected]
    Bangalore,
    India.


  3. #3
    Join Date
    Apr 1999
    Location
    Malaysia
    Posts
    224

    Re: Calling DLLs

    i do as show say, creat an activeX DLL in VB5, only a very simple Function which would shows
    a MsgBox. Then i add as new class from VC++5.0. VC++ create a wrapper class for me,
    and i try to call the function. Everything fine when compile and run, but the MSgBox NEVER show.
    I test the ActiceXDLL at VB program, the Msgbox SHOW, show..what shall i do know?
    Do i miss some stpe in vc++
    Thanks

    Hello World!!!

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