visual basic 4.0 call to borland c++ 5.0 dll 
Author Message
 visual basic 4.0 call to borland c++ 5.0 dll

    Should be identical to the rules for VC++; in fact,
you have one advantage in that I believe Borland
    Doesn't mangle names exported with stdcall.
    File naming is not a problem. The details should be
in a file similar to VB4DLL.TXT (in VB 5, All the details
are in the file VB5DLL.DOC on the VB5 CD in
the VB5.0\TOOLS\DOCS folder).

--
Ron Ruble
Raffles Software Development, Inc.

Quote:

>Hello,

>I have seen many references to this problem but I need help for my
>specific situation.  I have been sifting through reams of documentation
>dealing with the declaration and calling of dynamic link libraries but
>I have yet to find exactly what I need.  My problem:  I need to find the
>correct syntax for declaring and referencing a Borland C++ 5.0
>dynamic link library (that also needs to be created, so I need the correct
>file naming convention as well as the way to correctly declare
>individual subroutines within the dll) from within a Visual Basic 4.0
>application.  Can anybody help me.

>Chuck



Thu, 13 Jul 2000 03:00:00 GMT  
 visual basic 4.0 call to borland c++ 5.0 dll



Quote:
>Should be identical to the rules for VC++; in fact,
>you have one advantage in that I believe Borland
>    Doesn't mangle names exported with stdcall.

The Microsoft compiler doesn't "mangle" names either if you list the
name in the "exports" section of your module definition file.

Chris

----------------------------------------------------------------
Chris Marriott, Microsoft Certified Solution Developer.

Visit our web site at http://www.skymap.com



Thu, 13 Jul 2000 03:00:00 GMT  
 visual basic 4.0 call to borland c++ 5.0 dll

--
Ron Ruble
Raffles Software Development, Inc.

Quote:


<snip>
>The Microsoft compiler doesn't "mangle" names either if you list the
>name in the "exports" section of your module definition file.

True; but I think Borland does that without a DEF file.
This came up when VC++ 4.0 was new; a bunch of folks
I worked with saw in the docs: 'use declspec(dllexport)
instead of a DEF file', and went crazy trying to figure out
why they kept getting 'specified DLL function not found'


Thu, 13 Jul 2000 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. MS Visual Basic 4.0 vs. Borland C++ 5.0

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

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

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

5. VB 5.0 calling C++ 5.0 DLL that calls winsock.dll

6. [Fwd: Visual Basic 5.0 to Visual C++ 4.0]

7. VB 4.0 calling a Visual C++ 4.0 DLL

8. DLL: Borland C++ 4.52 to Visual Basic 4.

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

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

11. FS: Mastering Microsoft Visual Basic 4.0 and Visual C++ 4.0 CD-ROMs

12. Problem with VB 4.0 using dll created with borland c++

 

 
Powered by phpBB® Forum Software