Help: Calling dll's form Vbasic writen in VC++ 5.0 
Author Message
 Help: Calling dll's form Vbasic writen in VC++ 5.0

Hi All!!!

I really need help in writing dll. I have to write a DLL in Microsoft
VC++5.0 and then call it from a visualbasic applicating. My application
that is in visualbasic asks user for input, takes two varibles and pass it
to C++ program i.e DLL and returns an array from VC++ back to my VBasic
main program. Can some one please tell me how to write DLL in C++ and how
to call it from VBapplication. An example would be very good.
Thanking you and hope some one can help me. Thanking you in advance.
Please do meial me the answer.


Yours truly,

---Masoud

*****************************************************************************
*****************************************************************************
****  Name  : Masoud Zia Khan           Dept : Computer Engineering (?)  ****  

****  WWW   : http://www.*-*-*.com/ ~mzk1/Masoud                  ****  
****  " Winners Never Quit...  Quitters Never Win...."                         ****  
*****************************************************************************
*****************************************************************************



Thu, 18 Nov 1999 03:00:00 GMT  
 Help: Calling dll's form Vbasic writen in VC++ 5.0

check vb4dll.txt under VB4's program directory



Fri, 19 Nov 1999 03:00:00 GMT  
 Help: Calling dll's form Vbasic writen in VC++ 5.0

The easy way is:
Declare sub func lib "mydll.dll" (ByVal v1 as Double, Byval v2 as Double, _
output as Double, array_size as Long)

Dim v1 as Double, v2 as Double, output(500) as Double, array_size as Long

'Get input (v1 and v2)



Sat, 11 Dec 1999 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Problem calling DLL writen in VC 5.0 from VB 5.0

2. Problem calling DLL writen in VC 5.0 from VB 5.0

3. Problem calling DLL writen in VC 5.0 from VB 5.0

4. Problem calling DLL writen in VC 5.0 from VB 5.0

5. How can I get The Handle of a VBasic 5.0 Form in VC++ 5.0

6. How can I get The Handle of a VBasic 5.0 Form in VC++ 5.0

7. Non-Modal form in VB DLL can't be called from VC++

8. Need help with syntax to call a dll writen with C

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

10. Help required for transferring VBasic 3.0 (16 bit) to VBasic 5.0

11. Call dll (writen with C lanuage) by VB [test source code]

12. Call dll (writen with C lanuage) by VB

 

 
Powered by phpBB® Forum Software