Solved

Variables in VC++ Dll's - Can VB See and Read them

Posted on 1998-12-10
1
126 Views
Last Modified: 2010-05-03
If you have a char buffer ( i.e. char global[1000] ) declared and storing data in a VC++ 5.0 Dll, can Visual Basic (I have V5.0) Read that variable to get its contents?
0
Comment
Question by:jovak
1 Comment
 
LVL 13

Accepted Solution

by:
Mirkwood earned 70 total points
ID: 1449348
Goto www.worldofatl.com. They have could examples of how to communicate between VB and C++.
StructVB is a good sample.

To answer this question. No VB has no way to access global data directly. You have to put it in a function call and copy it either as string or as binary data.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

867 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now