PDA

Click to See Complete Forum and Search --> : Vb Dll From C++


PsyVision
Nov 26th, 2000, 01:49 AM
hi,

How can i access a vb dll from c++ and pass a string to it and then a string is returned ?

???????????????????

KENNNY
Nov 26th, 2000, 06:16 AM
you'd need all that COM stuff to access the VB DLL - if you know that you can probably do it.
the string passing wouldn't be that difficult - make sure you pass a BSTR to VB as VB uses them (theyre unicode i think).

parksie
Nov 26th, 2000, 10:35 AM
In Visual C++ look at the #import directive.