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

Thread: classes in VB

  1. #1
    Guest

    classes in VB

    Hi all,

    we are trying to use a C++ DLL in VB. Is it possible to access/instantiate classes declared in the DLL. (We are not in a position to switch to COM right now.)

    Is there any website/book where this is explained.
    Any help is appreciated

    thanks
    kr


  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: classes in VB

    IMHO there are only two ways to access your C++ classes:
    - use COM (you can't as you tell us)
    - create a C-interface for your C++ classes and call the functions from VB. You cannot create instances of VC++ classes in VB.


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