Solved

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

Posted on 1998-12-10
1
128 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

776 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