Solved

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

Posted on 1998-12-10
1
124 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
Comment Utility
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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 process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

772 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

10 Experts available now in Live!

Get 1:1 Help Now