Click to See Complete Forum and Search --> : VB dll's in C++


J B
January 17th, 2000, 04:23 AM
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

January 17th, 2000, 09:11 AM
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