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

Thread: VB dll's in C++

  1. #1
    Join Date
    Jan 2000
    Posts
    2

    VB dll's in C++

    Ok I've got a dll made in vb, works fine, (V6.0 SP3)

    However when I try and call it from c++ it no work!!!

    you referance it in c++ (v6) it see's it and you can see all public function within it and properties too, but when you call them they don't actually work, I tried just a simple msgbox "Hello World" and that does'nt even come up so it seems not to be entering the code any idea out there??

    cheers jonathan


  2. #2
    Guest

    Re: VB dll's in C++

    I know just a little bit about C++, so I might be wrong. In C++ there is no String type of variable and strings contain Null Terminating character at the end of string. VB has String type. If you use API (most of them were written in C) in VB you have to keep in mind how to pass String parameters - allocation space and so on. Maybe here is the opposite problem.
    Vlad


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