adapting Visual C++ dll for Visual Basic 
Author Message
 adapting Visual C++ dll for Visual Basic

Hello,

We are developing an application in Visual Basic 6.0. The problem is that
there are some dlls in a SDK for a certain hardware that are provided for
Visual  C++ only. When we bought the C++ SDK, they provided us a beta SDK
for VB that should have been updated and released, but never did. Although
most things are working with the beta SDK, some little things don't work
properly and the hardware manufacturer doesn't provide support for beta
SDKs.

Any suggestions would be appreciated

Regards

Jaja



Sun, 21 Aug 2005 04:01:20 GMT  
 adapting Visual C++ dll for Visual Basic

Quote:

> Hello,

> We are developing an application in Visual Basic 6.0. The problem is that
> there are some dlls in a SDK for a certain hardware that are provided for
> Visual  C++ only. When we bought the C++ SDK, they provided us a beta SDK
> for VB that should have been updated and released, but never did. Although
> most things are working with the beta SDK, some little things don't work
> properly and the hardware manufacturer doesn't provide support for beta
> SDKs.

> Any suggestions would be appreciated

Switch vendors?? :)

You should be able to write calls to the C++ SDK by translating the
header files to produce the include file for VB.  I don't use C++ enough
to know whether there's  possibly a fundamental problem that can't be
resolved that way (I suppose it's quite possible that something about
C++ object handling could be incompatible w/VB calling conventions and
not translatable, but I don't know that).  However, if it is, I'd be
pretty sure you could write a translation layer DLL for (which is
probably all the VB DLL was, anyway...)

HTH...

If you had a specific problem trying to call something from the C++ DLL,
posting the SDK call info and what your interface looked like would
probably lead to more specific help.



Sun, 21 Aug 2005 04:17:48 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. How do you call a Visual C++ (DLL) function from Visual Basic

2. Calling Visual C++ 5.0 DLL Functions From Visual Basic 5.0

3. Visual C++ DLL in Visual Basic

4. Visual Basic and Visual C++ DLL with array of structures

5. Help with Visual Basic ActiveX DLL showing form within Visual C++ app

6. Help with Visual Basic ActiveX DLL showing form within Visual C++ ATL app

7. Visual C++ DLL in Visual Basic

8. Visual Basic 4.0 usage of DLLs written in Visual C++ 4.0

9. How to write Visual C++ DLL's and call them from Visual Basic

10. Visual C++ DLL in Visual Basic

11. Visual Basic 4.0 usage of DLLs written in Visual C++ 4.0

12. Visual C++ and Visual Basic and Visual J++

 

 
Powered by phpBB® Forum Software