-
calling a VB dll from C++
Hi,
I am a novice programmer with limited experience. I am looking for some guidance in accessing a dll that is written in visual basic. I have been given the dll and told what the functions are that I need to implement in my C code. The problem I am having is I don't know how to interface to this dll, is there anyone who can help explain what I have to do or send me to a site that explains this? From what I have found so far, it seems that calling a VB dll from a C++ program is unusual. I am using visual studio 2005 for my code, the VB dll was written in VS 2008.
Thank you
-
Since they are both creted in .Net, It does not matter what language they were created in. That is one of the major benifits of the .Net platform, any language can call functions written by any other language. All you need to know is how to access DLL functions from c++. Here is the link to Microsofts documentation on accessing DLL's from c++.
http://msdn.microsoft.com/en-us/library/1ez7dh12.aspx
-
I discovered that I need to call the dll explicitly, however none of the functions in the VB dll are exported. Do I now need to create a COM interface in order to access the functions in VB? If so is there a tutorial that shows how to do this?
Thanks
Similar Threads
-
By johnchristopher in forum VB Classic
Replies: 2
Last Post: 01-25-2006, 09:06 AM
-
Replies: 2
Last Post: 04-07-2002, 01:46 AM
-
By Bruce Casson in forum VB Classic
Replies: 1
Last Post: 03-21-2002, 11:51 AM
-
By Big John in forum VB Classic
Replies: 3
Last Post: 02-22-2002, 03:25 PM
-
By sam in forum VB Classic
Replies: 0
Last Post: 11-19-2000, 02:09 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks