?
Solved

How to use VBDll in vc++

Posted on 2004-04-27
3
Medium Priority
?
208 Views
Last Modified: 2013-11-20
hi
      I want to use some functions of visual basic in MFC applications. I write them in a Dll.
 So tell me how can i use this dll(VB) in MFC.

0
Comment
Question by:ManojKrChauhan
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
akalmani earned 150 total points
ID: 10936645
Since you have not mentioned what kind of DLL you have.
If its an ActiveX DLL developed in VB than have a look at this.
http://www.codeproject.com/dll/vbactivexwithvc.asp
0
 

Author Comment

by:ManojKrChauhan
ID: 10949807
Thanks
I used vbdl in MFC application.
 It's running well. but only on My System.
I registered it like regsvr32 vbdll.dll
When i run my application on other system then it doesn't call dll's function. No error but fail to call functions of dll. why?
Please reply
0
 
LVL 3

Expert Comment

by:akalmani
ID: 10956884
Check whether the required dependent DLL's are present on the target system?

You can do this by using a dependency walker which comes with Visual Studio.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Suggested Courses
Course of the Month8 days, 22 hours left to enroll

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question