Solved

C++ dll in VB

Posted on 2000-04-27
2
156 Views
Last Modified: 2010-08-05
How do i make a vb variable get passed into C++ and then back out (in arrays) them types i want to pass are Strings and Long integers (im trying to built a netserverenum wrapper :))
0
Comment
Question by:GreatMikey
2 Comments
 
LVL 28

Accepted Solution

by:
AzraSound earned 100 total points
ID: 2756510
0
 
LVL 1

Expert Comment

by:lochiano
ID: 2756740
Depending what it is that you want to access you can also use the resource files to access stuff that is normally defined in a ".h" file


..................
The RC.EXE file located in the \TOOLS\RESOURCE directory can be
used for 32-bit resources used in applications under Windows 95 or later and
Windows NT 3.51 or later.

The resource sample project (ATM.VBP) in the \SAMPLES\RESOURCE directory of
your Visual Basic installation demonstrates most of the functionality
described in this file. The ATM.RC file is the resource definition file used
to create the .RES file for the ATM project. You won't be able to recompile
the ATM.RC without removing the references to bitmaps, sound files and
cursors not shipped in Visual Basic version 4.0

The Resource Compiler compiles the resource definition file and the resource
files (binary files such as icon, bitmap, and cursor files) into a binary
resource (.RES) file.

Resources can be divided into two groups:

- String resources (text strings such as "Hello World").
- Binary resources (icons, bitmaps, cursors, sounds, video, and so forth).
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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…

863 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

22 Experts available now in Live!

Get 1:1 Help Now